@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
12 lines (11 loc) • 564 B
TypeScript
import React from 'react';
import { EditorContextType } from '../editor_context';
import { SchemaDataSet } from '../form_store';
export declare function dragStart(context: EditorContextType, owner: SchemaDataSet): (e: React.DragEvent<HTMLDivElement>) => void;
export declare function dragEnd(context: EditorContextType): () => void;
export declare function initDrag(context: EditorContextType, owner: SchemaDataSet): {
onDragOver: (e: React.DragEvent<HTMLDivElement>) => void;
onDragEnd: () => void;
onDrop: () => void;
onDragLeave: () => void;
};