Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.53 KB

search-ui-react.numericalfacetprops.md

File metadata and controls

24 lines (16 loc) · 1.53 KB

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

NumericalFacetProps interface

Props for the StandardFacet() component.

Signature:

interface NumericalFacetProps extends StandardFacetProps 

Extends: StandardFacetProps

Properties

Property Modifiers Type Description
customCssClasses? FilterGroupCssClasses & RangeInputCssClasses (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.
inputPrefix? JSX.Element (Optional) An optional element which renders in front of the input text.
showOptionCounts? boolean (Optional) Whether or not to show the option counts for each filter. Defaults to false.