Appearance
Home > @liquidrazor/list-display > ToolbarProps
ToolbarProps interface
Props passed to the toolbar slot component. This surface focuses on triggering list-level actions and therefore exposes the current list state and the available general actions.
Signature:
typescript
export interface ToolbarPropsProperties
Property | Modifiers | Type | Description |
|---|---|---|---|
Array<GeneralAction<any, any>> | (Optional) Collection of actions that apply to the whole list rather than a specific row. | ||
(actionId: string) => void | (Optional) Callback invoked when a toolbar action is selected. | ||
ListState<any> | Latest list state snapshot. Consumers can use this to render counters or to derive disabled states for toolbar controls. |