@empathyco/x-components
Version:
Empathy X Components
28 lines (22 loc) • 1.18 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearch](./x-components.popularsearch.md)
Renders a popular search item which receives the suggestion that will be rendered as a prop. It exposes a default slot to change the popular search content. If the slot is not overridden, it will render the suggestion query by default.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<Suggestion>;
required: true;
};
}>, {
events: import("vue").ComputedRef<Partial<XEventsTypes>>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<Suggestion>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
BaseSuggestion: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```