@yoopta/editor
Version:
<h2 align="center">Yoopta-Editor v1 🎉</h2> <p align="center">Yoopta-Editor - is an open source notion-like editor 💥</p> <div align="center"> <img width="574" alt="Screen Shot 2023-01-25 at 16 04 29" src="https://user-images.githubusercontent.com/2909311
10 lines • 441 B
TypeScript
import { YooEditor } from '../../editor/types';
import { DragEndEvent, DragStartEvent } from '@dnd-kit/core';
export declare const useYooptaDragDrop: ({ editor }: {
editor: YooEditor;
}) => {
sensors: import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
handleDragEnd: (event: DragEndEvent) => void;
handleDragStart: (event: DragStartEvent) => void;
};
//# sourceMappingURL=dnd.d.ts.map