Seed Bible extension API (v1.19.0) / seed-bible/components / FilterPillsProps
Interface: FilterPillsProps<V extends string>
Type Parameters
| Type Parameter |
|---|
V extends string |
Properties
aria-label?
"aria-label"?: string;Names the row for screen readers, such as "Filter your content".
className?
className?: string;Extra classes on the outer element, for placement.
onChange
onChange: (value: V) => void;Parameters
| Parameter | Type |
|---|---|
value | V |
Returns
void
options
options: readonly FilterPillOption<V>[];value
value: V;The selected option's value.