@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
24 lines (23 loc) • 591 B
TypeScript
import * as React from 'react';
import { FormElement, EditorComponent } from '@tomino/dynamic-form';
import { EditorContextType } from '../editor_context';
interface BoxProps {
control: string;
title: string;
icon?: string;
thumbnail?: {
dark: string;
light: string;
};
row?: number;
column?: number;
id: string;
formElement?: FormElement;
defaultChildren?: EditorComponent[];
defaultProps?: {
[index: string]: any;
};
editorState: EditorContextType;
}
export declare const ToolItem: React.FC<BoxProps>;
export {};