tdesign-pro-component
Version:
ProComponents tdesign-vue-next + Vue3 + TS
79 lines (78 loc) • 3.36 kB
TypeScript
export declare const ProButton: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ProButtonProps> & Readonly<{
onClick?: ((...args: any) => any) | undefined;
onConfirm?: ((...args: any) => any) | undefined;
onOpen?: ((...args: any) => any) | undefined;
onClose?: ((...args: any) => any) | undefined;
onCancel?: ((...args: any) => any) | undefined;
"onUpdate:visible"?: ((...args: any) => any) | undefined;
}>, {
open: () => void;
close: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
click: any;
confirm: any;
open: any;
close: any;
cancel: any;
"update:visible": any;
}, import('vue').PublicProps, {
theme: "button" | "link";
action: "popup" | "dialog";
visible: boolean;
colorTheme: "default" | "warning" | "success" | "primary" | "danger";
linkHover: "color" | "underline";
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('./types').ProButtonProps> & Readonly<{
onClick?: ((...args: any) => any) | undefined;
onConfirm?: ((...args: any) => any) | undefined;
onOpen?: ((...args: any) => any) | undefined;
onClose?: ((...args: any) => any) | undefined;
onCancel?: ((...args: any) => any) | undefined;
"onUpdate:visible"?: ((...args: any) => any) | undefined;
}>, {
open: () => void;
close: () => void;
}, {}, {}, {}, {
theme: "button" | "link";
action: "popup" | "dialog";
visible: boolean;
colorTheme: "default" | "warning" | "success" | "primary" | "danger";
linkHover: "color" | "underline";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('./types').ProButtonProps> & Readonly<{
onClick?: ((...args: any) => any) | undefined;
onConfirm?: ((...args: any) => any) | undefined;
onOpen?: ((...args: any) => any) | undefined;
onClose?: ((...args: any) => any) | undefined;
onCancel?: ((...args: any) => any) | undefined;
"onUpdate:visible"?: ((...args: any) => any) | undefined;
}>, {
open: () => void;
close: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
click: any;
confirm: any;
open: any;
close: any;
cancel: any;
"update:visible": any;
}, string, {
theme: "button" | "link";
action: "popup" | "dialog";
visible: boolean;
colorTheme: "default" | "warning" | "success" | "primary" | "danger";
linkHover: "color" | "underline";
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<import('./types').ProButtonSlots> & import('./types').ProButtonSlots;
}) & import('vue').Plugin;
export * from './types';