UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

39 lines (38 loc) 555 B
import { Ref } from 'vue'; /** * Props */ export interface Props { zIndex?: number; shadow?: boolean; } /** * ItemProps */ export interface ItemProps { icon?: string; title?: string; disabled?: boolean; } /** * SubProps */ export interface SubProps { icon?: string; title?: string; disabled?: boolean; } /** * 菜单尺寸 */ export type ContextMenuSize = { width: number; height: number; }; /** * 上下文类型 */ export type ContextMenuContext = { hide: () => void; isShadow: Ref<boolean>; };