We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125fda7 commit f138b15Copy full SHA for f138b15
src/modules/Dropdown/Dropdown.d.ts
@@ -246,7 +246,7 @@ export interface StrictDropdownProps {
246
* A selection dropdown can allow a user to search through a large list of choices.
247
* Pass a function here to replace the default search.
248
*/
249
- search?: (options: DropdownItemProps[], value: string) => DropdownItemProps[] | boolean
+ search?: boolean | ((options: DropdownItemProps[], value: string) => DropdownItemProps[])
250
251
/** A shorthand for a search input. */
252
searchInput?: any
0 commit comments