UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 885 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [Facet](./x-types.facet.md) ## Facet interface Facet is a trait for filtering results. It uses [Filter](./x-types.filter.md) as filters. **Signature:** ```typescript export interface Facet extends NamedModel<FacetModelName>, Identifiable ``` **Extends:** [NamedModel](./x-types.namedmodel.md)<!-- -->&lt;[FacetModelName](./x-types.facetmodelname.md)<!-- -->&gt;, [Identifiable](./x-types.identifiable.md) ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [filters](./x-types.facet.filters.md) | | [Filter](./x-types.filter.md)<!-- -->\[\] | Filters available for the facet. | | [label](./x-types.facet.label.md) | | string | Label that represents the facet text. |