@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 627 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsMutations](./x-components.facetsmutations.md) > [removeFacet](./x-components.facetsmutations.removefacet.md)
## FacetsMutations.removeFacet() method
Removes the facet from the [facets](./x-components.facetsstate.facets.md) record.
**Signature:**
```typescript
removeFacet(facet: Facet): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| facet | Facet | The facet to remove. |
**Returns:**
void