UNPKG

tdesign-mobile-vue

Version:
16 lines (15 loc) 471 B
import { App } from 'vue'; import { WithInstallType } from '../shared'; import { TdDrawerProps } from './type'; declare type DrawerOptions = Omit<TdDrawerProps, 'attach'>; declare const Drawer: { (options: DrawerOptions): { destroy(): void; hide(): void; show(): void; update(options: DrawerOptions): void; }; install(app: App): void; }; declare const DrawerPlugin: WithInstallType<typeof Drawer>; export default DrawerPlugin;