@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 706 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [getFacetConfig](./x-adapter-platform.getfacetconfig.md)
## getFacetConfig() function
Returns the facet's config.
**Signature:**
```typescript
export declare function getFacetConfig(type: PlatformFacetType): FacetConfig;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | [PlatformFacetType](./x-adapter-platform.platformfacettype.md) | The facet type to resolve the configuration. |
**Returns:**
[FacetConfig](./x-adapter-platform.facetconfig.md)
The facet's config.