Home > @yext/search-ui-react > FilterGroupProps
Props for the FilterGroup component.
Signature:
export interface FilterGroupProps
Property | Type | Description |
---|---|---|
collapsible? | boolean | (Optional) Whether or not the filter is collapsible. Defaults to true. |
customCssClasses? | FilterGroupCssClasses | (Optional) CSS classes for customizing the component styling. |
defaultExpanded? | boolean | (Optional) If the filter group is collapsible, whether or not it should start out expanded. Defaults to true. |
fieldId | string | The fieldId corresponding to the filter group. |
filterOptions | FilterOptionConfig[] | The configuration data for a field value filter option. |
searchable? | boolean | (Optional) Whether or not to display a text input to search for filter options. |
showMoreLimit? | number | (Optional) Limit on the number of options to be displayed. |
title | string | The displayed label for the filter group. |