UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

15 lines (14 loc) 463 B
import React from 'react'; import { FormComponentProps, Option } from '@tomino/dynamic-form'; declare type EditorProps = { EmptyCell?: any; }; declare type Props = FormComponentProps & { Component: React.ComponentType<FormComponentProps & EditorProps>; Template?: React.ComponentType<FormComponentProps & { templateIndex: number; }>; options: Option[]; }; export declare const TemplateEditor: (props: Props) => JSX.Element; export {};