@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
22 lines (21 loc) • 957 B
TypeScript
import * as React from 'react';
import { FormDataSet } from '../form_store';
import { GridChildProps } from '../../layouts/grid_view';
import { EditorContextType } from '../editor_context';
import { FormComponentProps, DataSet, FormComponentCatalogue } from '@tomino/dynamic-form';
export interface DropCellProps {
className?: string;
formElement: FormDataSet<GridChildProps>;
parentFormElement?: FormDataSet;
editorState: EditorContextType;
owner: DataSet;
catalogue: FormComponentCatalogue;
style?: any;
children: any;
mouseOver?: (e: React.MouseEvent, props: FormComponentProps, context: EditorContextType) => void;
mouseOut?: () => void;
id: string;
hover?: (e: React.DragEvent, props: DropCellProps, context?: EditorContextType) => void;
drop: (e: React.DragEvent, props: DropCellProps, context?: EditorContextType) => boolean;
}
export declare const DropCell: (props: DropCellProps) => JSX.Element;