@empathyco/x-components
Version:
Empathy X Components
34 lines (28 loc) • 1.21 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsProvider](./x-components.facetsprovider.md)
This component allows to provide facets by prop, to add them to the state of the `Facets X-Module`<!-- -->. These facets will be added to the `Facets X-Module` state together with the facets emitted by the `Search X-Module` through the [SearchXEvents.FacetsChanged](./x-components.searchxevents.facetschanged.md) event.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
groupId: {
type: PropType<GroupId>;
default: string;
};
facets: {
type: PropType<Facet[]>;
required: true;
};
}, () => string, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
groupId: {
type: PropType<GroupId>;
default: string;
};
facets: {
type: PropType<Facet[]>;
required: true;
};
}>>, {
groupId: string;
}, {}>
```