Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.8 KB

search-ui-react.standardfacetsprops.md

File metadata and controls

26 lines (18 loc) · 1.8 KB

Home > @yext/search-ui-react > StandardFacetsProps

StandardFacetsProps interface

Props for the StandardFacets() component.

Signature:

export interface StandardFacetsProps 

Properties

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.