@Composablepublic fun SuggestionList(modifier: Modifier = Modifier,shape: Shape = ChatTheme.shapes.suggestionList,contentPadding: PaddingValues = PaddingValues(vertical = ChatTheme.dimens.suggestionListPadding),headerContent: @Composable () -> Unit = {},centerContent: @Composable () -> Unit,) {Popup(popupPositionProvider = AboveAnchorPopupPositionProvider()) {Card(modifier = modifier,elevation = ChatTheme.dimens.suggestionListElevation,shape = shape,backgroundColor = ChatTheme.colors.barsBackground,) {Column(Modifier.padding(contentPadding)) {headerContent()centerContent()}}}}
Represents the suggestion list popup that allows user to auto complete the current input.