Skip to main content
Version: 1.0.5

IExtendedSearchBoxProps

@spartanfx/react v1.0.5


@spartanfx/react / IExtendedSearchBoxProps

Interface: IExtendedSearchBoxProps

Props for the ExtendedSearchBox component.

Properties

PropertyTypeDescription
ariaLabel?stringAria label for accessibility.
buttonProps?IButtonPropsOptional props passed to the Fluent UI PrimaryButton.
disabled?booleanWhether the component is disabled. Default false
fullWidth?booleanIf true, allows the search input to expand to fill available horizontal space. Default false
onChange(newValue) => voidCallback triggered when a new search value is submitted or cleared.
placeholder?stringPlaceholder text for the search box. Default 'Search...'
searchBoxProps?ISearchBoxPropsOptional props passed directly to the underlying Fluent UI SearchBox.
searchType?SearchTypesThe current search mode (searchByText or searchById). Default SearchTypes.searchByText
showSearchTypeMenu?booleanWhether to show the search type dropdown menu. Default true
translate?(text) => stringOptional localization function to translate UI strings.