tdesign-mobile-vue
Version:
tdesign-mobile-vue
16 lines (15 loc) • 471 B
TypeScript
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;