@empathyco/x-components
Version:
Empathy X Components
57 lines (27 loc) • 841 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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
type
</td><td>
[PlatformFacetType](./x-adapter-platform.platformfacettype.md)
</td><td>
The facet type to resolve the configuration.
</td></tr>
</tbody></table>
**Returns:**
[FacetConfig](./x-adapter-platform.facetconfig.md)
The facet's config.