UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

15 lines (14 loc) 663 B
import type { Ref } from 'vue'; import type { MergedTheme } from '../../_mixins'; import type { DrawerTheme } from '../styles'; export type DrawerBodyInjection = Ref<HTMLElement | null> | null; export declare const drawerBodyInjectionKey: import("vue").InjectionKey<DrawerBodyInjection>; export interface DrawerInjection { isMountedRef: Ref<boolean>; mergedThemeRef: Ref<MergedTheme<DrawerTheme>>; mergedClsPrefixRef: Ref<string>; doUpdateShow: (show: boolean) => void; doUpdateWidth: (value: number) => void; doUpdateHeight: (value: number) => void; } export declare const drawerInjectionKey: import("vue").InjectionKey<DrawerInjection>;