Home > @yext/search-ui-react > StandardFacetsProps
Props for the StandardFacets() component.
Signature:
export interface StandardFacetsProps
Property | Type | Description |
---|---|---|
collapsible? | boolean | (Optional) Whether or not the filter is collapsible. Defaults to true. |
customCssClasses? | StandardFacetsCssClasses | (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. |
excludedFieldIds? | string[] | (Optional) List of filter ids that should not be displayed. |
searchOnChange? | boolean | (Optional) Whether or not a search is automatically run when a filter is selected. Defaults to true. |
showMoreLimit? | number | (Optional) Limit on the number of options to be displayed. Defaults to 10. |
showOptionCounts? | boolean | (Optional) Whether or not to show the option counts for each filter. Defaults to true. |