UNPKG

tav-ui

Version:
119 lines (118 loc) 2.62 kB
import type { ExtractPropTypes, PropType } from 'vue'; declare type Recordable<T = any> = Record<string, T>; export declare const footerProps: { confirmLoading: { type: BooleanConstructor; }; /** * @description: Show close button */ showCancelBtn: { type: BooleanConstructor; default: boolean; }; cancelButtonProps: PropType<Recordable<any>>; cancelText: { type: StringConstructor; default: any; }; /** * @description: Show confirmation button */ showOkBtn: { type: BooleanConstructor; default: boolean; }; okButtonProps: PropType<Recordable<any>>; okText: { type: StringConstructor; default: any; }; okType: { type: StringConstructor; default: string; }; showFooter: { type: BooleanConstructor; }; footerHeight: { type: PropType<string | number>; default: number; }; }; export declare const drawerProps: { confirmLoading: { type: BooleanConstructor; }; /** * @description: Show close button */ showCancelBtn: { type: BooleanConstructor; default: boolean; }; cancelButtonProps: PropType<Recordable<any>>; cancelText: { type: StringConstructor; default: any; }; /** * @description: Show confirmation button */ showOkBtn: { type: BooleanConstructor; default: boolean; }; okButtonProps: PropType<Recordable<any>>; okText: { type: StringConstructor; default: any; }; okType: { type: StringConstructor; default: string; }; showFooter: { type: BooleanConstructor; }; footerHeight: { type: PropType<string | number>; default: number; }; isDetail: { type: BooleanConstructor; }; title: { type: StringConstructor; default: string; }; loadingText: { type: StringConstructor; }; showDetailBack: { type: BooleanConstructor; default: boolean; }; visible: { type: BooleanConstructor; }; loading: { type: BooleanConstructor; }; maskClosable: { type: BooleanConstructor; default: boolean; }; getContainer: { type: PropType<any>; }; closeFunc: { type: PropType<any>; default: null; }; destroyOnClose: { type: BooleanConstructor; }; }; export declare type DrawerProps = ExtractPropTypes<typeof drawerProps>; export {};