@empathyco/x-components
Version:
Empathy X Components
19 lines (13 loc) • 1.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearches](./x-components.popularsearches.md)
## PopularSearches variable
Simple popular-searches component that renders a list of suggestions, allowing the user to select one of them, and emitting the needed events. A popular search is just a query that has been searched a lot in a certain period and may optionally have associated a set of filters.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{}, {
popularSearches: import("vue").ComputedRef<import("@empathyco/x-types").Suggestion[]>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
PopularSearch: import("vue").DefineComponent<{}, {}, any>;
BaseSuggestions: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```