UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

18 lines (17 loc) 601 B
export type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left'; export interface DrawerSlotParams { resizing: boolean; handleConfirm: () => void; handleCancel: () => void; handleClose: (isConfirm?: boolean) => Promise<unknown>; } export type DrawerCommonSlot = (params: DrawerSlotParams) => any; export interface DrawerSlots { header?: DrawerCommonSlot; title?: DrawerCommonSlot; close?: DrawerCommonSlot; default?: DrawerCommonSlot; footer?: DrawerCommonSlot; handler?: DrawerCommonSlot; } export declare const drawerPlacements: readonly DrawerPlacement[];