UNPKG

plus-pro-components

Version:

Page level components developed based on Element Plus.

21 lines (19 loc) 638 B
import { RecordType, Mutable } from 'plus-pro-components/es/types'; import { DialogProps } from 'element-plus'; export interface PlusDialogSelfProps { modelValue?: boolean; confirmText?: string; cancelText?: string; confirmLoading?: boolean; hasFooter?: boolean; footerAlign?: 'left' | 'right' | 'center'; top?: string; width?: string | number; title?: string; } export type PlusDialogProps = PlusDialogSelfProps & Partial<Mutable<DialogProps>> & RecordType; export interface PlusDialogEmits { (e: 'update:modelValue', visible: boolean): void; (e: 'cancel'): void; (e: 'confirm'): void; }