UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

53 lines (52 loc) 1.72 kB
export interface MazDrawerProps { /** The title of the drawer */ title?: string; /** * The variant of the drawer * @values 'right', 'top', 'left', 'bottom' */ variant?: 'right' | 'top' | 'left' | 'bottom'; /** The size of the drawer */ size?: string; /** The class of the backdrop */ backdropClass?: string; /** Disable the close button */ hideCloseButton?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { title?(_: { close: () => void; }): any; default?(_: { close: () => void; }): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<MazDrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { close: () => any; open: () => any; "update:model-value": (value: boolean) => any; "before-close": () => any; }, string, import('vue').PublicProps, Readonly<MazDrawerProps> & Readonly<{ onClose?: (() => any) | undefined; onOpen?: (() => any) | undefined; "onUpdate:model-value"?: ((value: boolean) => any) | undefined; "onBefore-close"?: (() => any) | undefined; }>, { size: string; title: string; variant: "right" | "top" | "left" | "bottom"; backdropClass: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };