<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsProvider](./x-components.facetsprovider.md)

## FacetsProvider variable

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<import("vue").ExtractPropTypes<{
    groupId: {
        type: PropType<GroupId>;
        default: string;
    };
    facets: {
        type: PropType<Facet[]>;
        required: true;
    };
}>, () => string, {}, {}, {}, 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;
    };
}>> & Readonly<{}>, {
    groupId: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```
