File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/components Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -178,13 +178,13 @@ fun CustomizableSearchBar(
178
178
onSearch : (String ) -> Unit ,
179
179
searchResults : List <String >,
180
180
onResultClick : (String ) -> Unit ,
181
+ modifier : Modifier = Modifier ,
181
182
// Customization options
182
183
placeholder : @Composable () -> Unit = { Text ("Search ") },
183
184
leadingIcon : @Composable (() -> Unit )? = { Icon (Icons .Default .Search , contentDescription = "Search ") },
184
185
trailingIcon : @Composable (() -> Unit )? = null,
185
186
supportingContent : (@Composable (String ) -> Unit )? = null,
186
187
leadingContent : (@Composable () -> Unit )? = null,
187
- modifier : Modifier = Modifier
188
188
) {
189
189
// Track expanded state of search bar
190
190
var expanded by rememberSaveable { mutableStateOf(false ) }
You can’t perform that action at this time.
0 commit comments