UNPKG

vue-admin-core

Version:
7 lines (6 loc) 549 B
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>;