UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

28 lines 940 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const buttons_view_1 = require("./buttons_view"); const mobx_react_1 = require("mobx-react"); const editor_common_1 = require("../editor/editor_common"); const enums_1 = require("./enums"); exports.ButtonEditor = { Component: mobx_react_1.observer(buttons_view_1.ButtonComponent), title: 'Button', control: 'Button', icon: 'box', group: 'Buttons', props: { ...editor_common_1.propGroup('Button', { onClick: editor_common_1.handlerProp({}), icon: editor_common_1.boundProp({}), color: editor_common_1.boundProp({ control: 'Select', label: 'Color', props: { options: enums_1.colors } }), content: editor_common_1.boundProp({}) }) } }; //# sourceMappingURL=buttons_editor.js.map