FindBar

fun FindBar(state: FindState, onClose: () -> Unit, modifier: Modifier = Modifier, strings: FindBarStrings = FindBarStrings.Default, requestFocus: Boolean = true)(source)

A find bar UI component that provides search and replace functionality.

Parameters

state

The FindState managing the search

onClose

Called when the user closes the find bar

modifier

Modifier for the find bar

strings

Localizable strings for the UI. Defaults to English.

requestFocus

Whether to request focus on the search field when shown