UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

23 lines 802 B
import { DatasetEditor } from './dataset_editor'; import { propGroup, prop, handlerProp, boundProp } from '../editor_common'; import { observer } from 'mobx-react'; export const DatasetEditorComponent = { Component: observer(DatasetEditor), title: 'Dataset Editor', control: 'DatasetEditor', icon: 'edit', bound: true, props: propGroup('Dataset Editor', { source: boundProp(), theme: prop({ control: 'Select', props: { options: [{ value: 'dark', text: 'Dark' }, { value: 'light', text: 'Light' }] } }), height: prop({}), parseHandler: handlerProp({}), allowCustomTypes: prop({ type: 'boolean', label: 'Custom Types' }) }) }; //# sourceMappingURL=dataset_editor_editor.js.map