@jiaozhiye/qm-design-vue
Version:
A Component Library for Vue3.0
27 lines (26 loc) • 637 B
TypeScript
import type { PropType, ExtractPropTypes } from 'vue';
type IOption = {
debug?: boolean;
message?: string;
format?: string;
};
export declare const _props: {
text: {
type: StringConstructor;
required: boolean;
};
showMessage: {
type: BooleanConstructor;
default: boolean;
};
options: {
type: PropType<IOption>;
default: () => {};
};
};
export declare const _emits: {
copy: (text: string, result: boolean) => boolean;
};
export type CopyToClipboardProps = ExtractPropTypes<typeof _props>;
export type CopyToClipboardEmits = typeof _emits;
export {};