Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.53 KB

search-ui-react.numericalfacetsprops.md

File metadata and controls

24 lines (16 loc) · 1.53 KB

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

NumericalFacetsProps interface

Props for the NumericalFacets() component.

Signature:

export interface NumericalFacetsProps extends Omit<StandardFacetsProps, 'excludedFieldIds'> 

Extends: Omit<StandardFacetsProps, 'excludedFieldIds'>

Properties

Property Type Description
customCssClasses? NumericalFacetsCssClasses (Optional) CSS classes for customizing the component styling.
getFilterDisplayName? (value: NumberRangeValue) => string (Optional) Returns the filter's display name based on the range values which is used when the filter is displayed by other components such as AppliedFilters.
includedFieldIds? string[] (Optional) List of filter ids to render as numerical facets.
inputPrefix? JSX.Element (Optional) An optional element which renders in front of the input text.