UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

16 lines (15 loc) 440 B
import { FormElement, JSONSchemaBase } from '@tomino/dynamic-form'; export interface AutoSchema extends JSONSchemaBase { properties?: { [key: string]: AutoSchema; }; items?: AutoSchema; required?: string[]; label?: string; control?: string; options?: string; validate?: string; visible?: string; parse?: string; } export declare function convertSchemaToForm(schema: AutoSchema): FormElement;