UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

22 lines (21 loc) 580 B
import { InjectionKey, type StyleValue } from 'vue'; import { DndItemInfo } from '../dnd/common'; export interface DndItemProps { rootStyle?: StyleValue; rootClass?: string; itemInfo: DndItemInfo; } export interface DndItemSlots { default?(props: Record<string, never>): any; } export interface DndItemEmits { } export interface DndItemExpose { } export interface DndItemContext { immediateStart: () => void; start: () => void; move: (delta: number) => void; end: () => void; } export declare const dndItemContextKey: InjectionKey<DndItemContext>;