UNPKG

hongluan-ui

Version:
66 lines (65 loc) 1.58 kB
import type { PropType } from 'vue'; export declare type DialogShowAs = 'dialog' | 'drawer'; export declare type DialogPlacement = 'top' | 'bottom' | 'left' | 'right' | 'center' | 'fullscreen'; export declare const dialogContentProps: { showAs: { type: PropType<DialogShowAs>; default: string; }; /** * @description whether to show a close button */ showClose: { type: BooleanConstructor; default: boolean; }; /** * @deprecated */ customClass: { type: StringConstructor; default: string; }; placement: { type: PropType<DialogPlacement>; default: string; }; /** * @description value for `margin-top` of Dialog CSS, default is 15vh */ top: { type: StringConstructor; default: string; }; /** * @description title of Dialog. Can also be passed with a named slot (see the following table) */ title: { type: StringConstructor; default: string; }; height: { type: StringConstructor; }; /** * @description width of Dialog, default is 50% */ width: { type: StringConstructor; }; /** * @description enable dragging feature for Dialog */ resizable: BooleanConstructor; /** * @description enable resizing feature for Dialog */ draggable: BooleanConstructor; /** * @description header's aria-level attribute */ ariaLevel: { type: StringConstructor; default: string; }; };