@empathyco/x-components
Version:
Empathy X Components
32 lines (24 loc) • 1.46 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [PromotedsList](./x-components.promotedslist.md)
It renders a [ItemsList](./x-components.itemslist.md) of promoteds from [SearchState.promoteds](./x-components.searchstate.promoteds.md)<!-- -->.
The component provides a default slot which wraps the whole component with the `promoteds` plus the `injectedListItems` which also contains the injected list items from the ancestor.
It also provides the parent slots to customize the items.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
}>> & Readonly<{}>, {
animation: string | Function | Record<string, any>;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```