UNPKG

linkmore-design

Version:

🌈 🚀lm组件库。🚀

14 lines (13 loc) 462 B
import React, { ReactNode } from 'react'; import LmDrag from './LmDrag'; import { PointerActivationConstraint } from '@dnd-kit/core'; export default LmDrag; export { LmDrag }; export interface LmDragProps { options?: Array<any>; rowKey: string; move?: (activeId: string, overId: string, fileList: Array<any>) => void; children?: ReactNode | React.FC | null; /** 指针激活约束 */ activationConstraint?: PointerActivationConstraint; }