SuggestionList

fun SuggestionList(modifier: Modifier = Modifier, shape: Shape = ChatTheme.shapes.suggestionList, contentPadding: PaddingValues = PaddingValues(vertical = ChatTheme.dimens.suggestionListPadding), headerContent: @Composable () -> Unit = {}, centerContent: @Composable () -> Unit)

Represents the suggestion list popup that allows user to auto complete the current input.

Parameters

modifier

Modifier for styling.

shape

The shape of suggestion list popup.

contentPadding

The inner content padding inside the popup.

headerContent

The content shown at the top of a suggestion list popup.

centerContent

The content shown inside the suggestion list popup.