Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.64 KB

search-ui-react.hierarchicalfacetsprops.md

File metadata and controls

29 lines (20 loc) · 1.64 KB

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

HierarchicalFacetsProps interface

Warning: This API is now obsolete.

Use HierarchicalFacet() with Facets() instead.

Props for the HierarchicalFacets() component.

Signature:

interface HierarchicalFacetsProps extends Omit<StandardFacetsProps, 'excludedFieldIds'> 

Extends: Omit<StandardFacetsProps, 'excludedFieldIds'>

Properties

Property Modifiers Type Description
customCssClasses? HierarchicalFacetsCssClasses (Optional) CSS classes for customizing the component styling.
delimiter? string (Optional) The delimiter for determining facet hierarchies, defaults to ">".
includedFieldIds string[] List of filter ids to render as hierarchical facets.
showMoreLimit? number (Optional) The maximum number of options to render before displaying the "Show more/less" button. Defaults to 4.