UNPKG

@empathyco/x-components

Version:
57 lines (27 loc) 841 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [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.