@empathyco/x-components
Version:
Empathy X Components
60 lines (54 loc) • 1.89 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [BasePriceFilterLabel](./x-components.basepricefilterlabel.md)
Renders a label for a price filter, allowing to select different messages depending on the value of the filter.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
filter: {
type: PropType<{
range: RangeValue;
}>;
required: true;
};
currency: StringConstructor;
format: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
lessThan: {
type: StringConstructor;
required: true;
};
fromTo: {
type: StringConstructor;
required: true;
};
from: {
type: StringConstructor;
required: true;
};
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
filter: {
type: PropType<{
range: RangeValue;
}>;
required: true;
};
currency: StringConstructor;
format: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
lessThan: {
type: StringConstructor;
required: true;
};
fromTo: {
type: StringConstructor;
required: true;
};
from: {
type: StringConstructor;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
BaseCurrency: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```