UNPKG

@empathyco/x-components

Version:
35 lines (28 loc) 1.31 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueryPreviewButton](./x-components.querypreviewbutton.md) ## QueryPreviewButton variable Component containing an event button that emits [QueriesPreviewXEvents.UserAcceptedAQueryPreview](./x-components.queriespreviewxevents.useracceptedaquerypreview.md) when clicked with the full query preview info as payload. It has a default slot to customize its contents. **Signature:** ```typescript _default: import("vue").DefineComponent<{ queryPreviewInfo: { type: PropType<QueryPreviewInfo>; required: true; }; metadata: { type: PropType<Omit<WireMetadata, "moduleName">>; }; }, { fullQueryPreviewInfo: import("vue").ComputedRef<QueryPreviewInfo>; events: import("vue").ComputedRef<Partial<XEventsTypes>>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ queryPreviewInfo: { type: PropType<QueryPreviewInfo>; required: true; }; metadata: { type: PropType<Omit<WireMetadata, "moduleName">>; }; }>>, {}, {}> ```