fine-true
Version:
A small and beautiful Vue3 version of the UI Library
72 lines (71 loc) • 2.06 kB
TypeScript
import { PropType } from 'vue';
declare type DrawerdirectionType = 'rtl' | 'ltr' | 'ttb' | 'btt';
declare const _default: import("vue").DefineComponent<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
title: {
type: StringConstructor;
};
width: {
type: StringConstructor;
default: string;
};
appendToBody: {
type: BooleanConstructor;
default: boolean;
};
closeOnClickModal: {
type: BooleanConstructor;
default: boolean;
};
direction: {
type: PropType<DrawerdirectionType>;
default: string;
validator: (val: DrawerdirectionType) => boolean;
};
beforeClose: {
type: FunctionConstructor;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
title: {
type: StringConstructor;
};
width: {
type: StringConstructor;
default: string;
};
appendToBody: {
type: BooleanConstructor;
default: boolean;
};
closeOnClickModal: {
type: BooleanConstructor;
default: boolean;
};
direction: {
type: PropType<DrawerdirectionType>;
default: string;
validator: (val: DrawerdirectionType) => boolean;
};
beforeClose: {
type: FunctionConstructor;
default: null;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
width: string;
direction: DrawerdirectionType;
modelValue: boolean;
closeOnClickModal: boolean;
appendToBody: boolean;
beforeClose: Function;
}>;
export default _default;