Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-23 14:31:44 +05:00
parent c300a5eaf3
commit d99c4e1405
15 changed files with 316 additions and 56 deletions

View file

@ -41,6 +41,7 @@ fun SearchBar(
state: SearchBarUM,
modifier: Modifier = Modifier,
colors: TextFieldColors = TangemSearchBarDefaults.defaultTextFieldColors,
enabled: Boolean = true,
) {
val keyboardController = LocalSoftwareKeyboardController.current
val focusManager = LocalFocusManager.current
@ -57,6 +58,7 @@ fun SearchBar(
state.onActiveChange(false)
}
},
enabled = enabled,
value = state.query,
onValueChange = state.onQueryChange,
interactionSource = interactionSource,