hongluan-business-ui
Version:
Hongluan Business Component Library for Vue 3
51 lines (50 loc) • 1.37 kB
TypeScript
import type { ExtractPropTypes, PropType } from 'vue';
export declare const popconfirmProps: {
title: {
type: StringConstructor;
};
confirmButtonText: {
type: StringConstructor;
};
cancelButtonText: {
type: StringConstructor;
};
confirmButtonType: {
type: StringConstructor;
default: string;
};
cancelButtonType: {
type: StringConstructor;
default: string;
};
effect: {
type: StringConstructor;
default: string;
};
popperClass: {
type: StringConstructor;
default: string;
};
hideAfter: {
type: NumberConstructor;
default: number;
};
onConfirm: {
type: PropType<(e: Event) => Promise<void> | void>;
};
onCancel: {
type: PropType<(e: Event) => Promise<void> | void>;
};
teleported: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
persistent: BooleanConstructor;
width: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
};
export declare type PopconfirmProps = ExtractPropTypes<typeof popconfirmProps>;
export declare const popconfirmEmits: {
confirm: () => boolean;
cancel: () => boolean;
};
export declare type PopconfirmEmits = typeof popconfirmEmits;