InterfaceSearchBarProps
Interface: InterfaceSearchBarProps
Defined in: src/types/shared-components/DataTable/props.ts:69
Props for a searchable input/search bar component.
Configures search input behavior including value synchronization, change callbacks, debouncing, and accessibility attributes.
Properties
aria?
optionalaria:object
Defined in: src/types/shared-components/DataTable/props.ts:83
ARIA accessibility attributes for the search input
label?
optionallabel:string
ARIA label for the search input
labelledBy?
optionallabelledBy:string
ARIA labelledBy for linking to external labels
aria-label?
optionalaria-label:string
Defined in: src/types/shared-components/DataTable/props.ts:79
ARIA label for the search input
clear-aria-label?
optionalclear-aria-label:string
Defined in: src/types/shared-components/DataTable/props.ts:81
ARIA label for the clear button
debounceDelay?
optionaldebounceDelay:number
Defined in: src/types/shared-components/DataTable/props.ts:90
Milliseconds to debounce search input changes
onChange()
onChange: (
q) =>void
Defined in: src/types/shared-components/DataTable/props.ts:73
Callback fired when search value changes
Parameters
q
string
Returns
void
onClear()?
optionalonClear: () =>void
Defined in: src/types/shared-components/DataTable/props.ts:75
Callback fired when search is cleared
Returns
void
placeholder?
optionalplaceholder:string
Defined in: src/types/shared-components/DataTable/props.ts:77
Placeholder text to display in the search input
value?
optionalvalue:string
Defined in: src/types/shared-components/DataTable/props.ts:71
Current search input value