Top Search Bar
fun TopSearchBar(modifier: Modifier = Modifier, items: List<Poi>, placeholder: String? = stringResource(R.string.search), value: String? = "", onTitleChange: (String) -> Unit = {}, onPoiChange: (Poi) -> Unit = {})
A composable that displays a search bar with a dropdown menu
Parameters
items
the list of items to search
placeholder
the placeholder text
value
the value of the search bar
on Title Change
the callback to be called when the title changes
on Poi Change
the callback to be called when the poi changes
Docs: TopSearchBar Docs