InterfaceToolbarProps
Interface: InterfaceToolbarProps
Defined in: src/types/shared-components/Toolbar/interface.ts:37
Props for the unified Toolbar component.
This is a superset of both the old PageHeader (Navbar) and SearchFilterBar APIs. Migrate all callers to this component to avoid duplicate toolbar implementations.
Properties
actions?
optionalactions:ReactNode
Defined in: src/types/shared-components/Toolbar/interface.ts:66
Action buttons rendered on the right of the toolbar row
containerClassName?
optionalcontainerClassName:string
Defined in: src/types/shared-components/Toolbar/interface.ts:72
Extra class applied to the inner flex row (overrides default)
filters?
optionalfilters:InterfaceToolbarFilter[]
Defined in: src/types/shared-components/Toolbar/interface.ts:63
Sort/filter dropdowns rendered between search and actions
filtersAriaLabel?
optionalfiltersAriaLabel:string
Defined in: src/types/shared-components/Toolbar/interface.ts:75
Accessible label for the filters toolbar region
rootClassName?
optionalrootClassName:string
Defined in: src/types/shared-components/Toolbar/interface.ts:69
Extra class applied to the outermost wrapper div
search?
optionalsearch:object
Defined in: src/types/shared-components/Toolbar/interface.ts:42
Search bar configuration
ariaDescription?
optionalariaDescription:string
Visually-hidden description for screen readers
buttonTestId?
optionalbuttonTestId:string
debounceDelay?
optionaldebounceDelay:number
Debounce delay in ms when using onChange (default 300)
inputTestId?
optionalinputTestId:string
onChange()?
optionalonChange: (value) =>void
Per-keystroke callback. When provided, onSearch is only called on submit.
Parameters
value
string
Returns
void
onSearch()
onSearch: (
value) =>void
Called when the user submits the search (button click / Enter) OR,
if no onChange is provided, on every debounced keystroke.
Parameters
value
string
Returns
void
placeholder
placeholder:
string
Placeholder text for the search input
value?
optionalvalue:string
Controlled value. When provided the input is controlled.
title?
optionaltitle:string
Defined in: src/types/shared-components/Toolbar/interface.ts:39
Optional heading rendered above the toolbar row