@empathyco/x-components
Version:
Empathy X Components
26 lines (20 loc) • 996 B
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<{
suggestion: {
type: PropType<Suggestion>;
required: true;
};
}, {
events: import("vue").ComputedRef<Partial<XEventsTypes>>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<Suggestion>;
required: true;
};
}>>, {}, {}>
```