UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

14 lines (13 loc) 380 B
import { Emits, Props } from '../types'; /** * hook * * @param props 组件属性 * @param emits 组件事件 */ export declare const useDrawer: (props: Props, emits: Emits) => { animation: import('vue').ComputedRef<"drawer-down" | "drawer-right" | "drawer-left" | "drawer-top">; handleClose: () => void; handleOk: () => void; handleMaskClose: () => void; };