IExtendedSearchBoxProps
@spartanfx/react / IExtendedSearchBoxProps
Interface: IExtendedSearchBoxProps
Props for the ExtendedSearchBox component.
Properties
| Property | Type | Description |
|---|---|---|
ariaLabel? | string | Aria label for accessibility. |
buttonProps? | IButtonProps | Optional props passed to the Fluent UI PrimaryButton. |
disabled? | boolean | Whether the component is disabled. Default false |
fullWidth? | boolean | If true, allows the search input to expand to fill available horizontal space. Default false |
onChange | (newValue) => void | Callback triggered when a new search value is submitted or cleared. |
placeholder? | string | Placeholder text for the search box. Default 'Search...' |
searchBoxProps? | ISearchBoxProps | Optional props passed directly to the underlying Fluent UI SearchBox. |
searchType? | SearchTypes | The current search mode (searchByText or searchById). Default SearchTypes.searchByText |
showSearchTypeMenu? | boolean | Whether to show the search type dropdown menu. Default true |
translate? | (text) => string | Optional localization function to translate UI strings. |