UNPKG

@empathyco/x-components

Version:
27 lines (21 loc) 1.04 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseAddToCart](./x-components.baseaddtocart.md) ## BaseAddToCart variable Renders a button with a default slot. It receives the result with the data and emits [XEventsTypes.UserClickedResultAddToCart](./x-components.xeventstypes.userclickedresultaddtocart.md) to the bus on click mouse event. **Signature:** ```typescript _default: import("vue").DefineComponent<{ result: { type: PropType<Result>; required: true; }; }, { events: import("vue").ComputedRef<Partial<XEventsTypes>>; metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ result: { type: PropType<Result>; required: true; }; }>>, {}, {}> ```