@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
25 lines • 986 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dataset_editor_1 = require("./dataset_editor");
const editor_common_1 = require("../editor_common");
const mobx_react_1 = require("mobx-react");
exports.DatasetEditorComponent = {
Component: mobx_react_1.observer(dataset_editor_1.DatasetEditor),
title: 'Dataset Editor',
control: 'DatasetEditor',
icon: 'edit',
bound: true,
props: editor_common_1.propGroup('Dataset Editor', {
source: editor_common_1.boundProp(),
theme: editor_common_1.prop({
control: 'Select',
props: {
options: [{ value: 'dark', text: 'Dark' }, { value: 'light', text: 'Light' }]
}
}),
height: editor_common_1.prop({}),
parseHandler: editor_common_1.handlerProp({}),
allowCustomTypes: editor_common_1.prop({ type: 'boolean', label: 'Custom Types' })
})
};
//# sourceMappingURL=dataset_editor_editor.js.map