UNPKG

@pit-front-end/components

Version:

湖南创智艾泰克科技有限公司

33 lines (32 loc) 1.03 kB
import { ExtractPropTypes, PropType } from 'vue'; export type DialogHeaderBeforeCloseFn = () => void; export declare const dialogHeaderProps: { readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly title: { readonly type: StringConstructor; readonly default: "标题"; }; readonly width: { readonly type: [NumberConstructor, StringConstructor]; readonly default: "35%"; }; readonly beforeClose: { readonly type: PropType<DialogHeaderBeforeCloseFn>; }; readonly modalClass: { readonly type: StringConstructor; readonly default: ""; }; readonly noCancelBtn: { readonly type: BooleanConstructor; readonly default: true; }; }; export type DialogHeaderProps = ExtractPropTypes<typeof dialogHeaderProps>; export declare const dialogHeaderEmits: { "update:modelValue": (value: Boolean) => Boolean; }; export type DialogHeaderEmits = typeof dialogHeaderEmits;