@yext/search-headless
Version:
A library for powering UI components for Yext Search integrations
22 lines (21 loc) • 454 B
text/typescript
import { StaticFilter } from '@yext/search-core';
/**
* A {@link StaticFilter} with additional information, such as an
* optional display name and whether or not it is selected.
*
* @public
*/
export interface SelectableStaticFilter {
/**
* {@inheritDoc StaticFilter}
*/
filter: StaticFilter,
/**
* Whether or not the filter is selected.
*/
selected: boolean,
/**
* The filter's display name.
*/
displayName?: string
}