Home > @yext/search-ui-react > NumericalFacetProps
Props for the StandardFacet() component.
Signature:
interface NumericalFacetProps extends StandardFacetProps
Extends: StandardFacetProps
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. |