UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

17 lines 586 B
import { CheckboxView } from './checkbox_view'; import { propGroup, boundProp } from '../editor/editor_common'; export const CheckboxEditor = { Component: CheckboxView.Component, bound: true, title: 'Checkbox', control: 'Checkbox', icon: 'check square outline', props: propGroup('Checkbox', { value: boundProp({ type: 'boolean' }), text: boundProp(), radio: boundProp({ type: 'boolean' }), slider: boundProp({ type: 'boolean' }), toggle: boundProp({ type: 'boolean' }) }) }; //# sourceMappingURL=checkbox_editor.js.map