UNPKG

@empathyco/x-components

Version:
14 lines (8 loc) 467 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsMutations](./x-components.facetsmutations.md) &gt; [setFacet](./x-components.facetsmutations.setfacet.md) ## FacetsMutations.setFacet property Adds the facet to the [facets](./x-components.facetsstate.facets.md) record. **Signature:** ```typescript setFacet: (facet: Facet) => void; ```