UNPKG

@empathyco/x-components

Version:
32 lines (24 loc) 1.35 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [PromotedsList](./x-components.promotedslist.md) ## PromotedsList variable 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<{ animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; }>>, { animation: string | Function | Record<string, any>; }, {}> ```