Appearance
Home > @liquidrazor/list-display > SortBarProps
SortBarProps interface
Props for the sort bar slot. This surface exposes the fields that can be sorted alongside a handler to update the current sort descriptor.
Signature:
typescript
export interface SortBarPropsProperties
Property | Modifiers | Type | Description |
|---|---|---|---|
Array<FieldSchema<any>> | Fields that can be sorted. | ||
(fieldId: string) => void | (Optional) Handler invoked when the user selects a new field to sort by. | ||
ListState<any> | Current list state including the active sort descriptor. |