Home > @yext/search-ui-react > NumericalFacetsProps
Props for the NumericalFacets() component.
Signature:
export interface NumericalFacetsProps extends Omit<StandardFacetsProps, 'excludedFieldIds'>
Extends: Omit<StandardFacetsProps, 'excludedFieldIds'>
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. |