vue-admin-core
Version:
A Component Library for Vue 3
7 lines (6 loc) • 549 B
TypeScript
import { Component, ExtractPropTypes, VNode } from "vue";
import { drawerProps } from "element-plus";
import { PopupProps, PopupTitle } from "../__shared__/useCorePopup";
export type DrawerProps = Omit<ExtractPropTypes<typeof drawerProps>, "title"> & PopupProps;
export type DrawerContent = Component | (() => VNode);
export declare function useElDrawer(title: DrawerProps | PopupTitle, content: DrawerContent): import("../__shared__/useCorePopup").UseElPopupResultType<PopupTitle | DrawerProps, PopupTitle | DrawerProps, PopupTitle | DrawerProps>;