@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
51 lines • 1.53 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const dynamic_form_1 = require("@tomino/dynamic-form");
exports.propertyPanel = [
{
control: 'Group',
props: {
text: 'General'
},
elements: [
{
bound: true,
props: {
value: { source: 'label' },
label: dynamic_form_1.config.i18n `Label`
},
control: 'Input',
documentation: 'Element label'
},
{
bound: true,
props: {
value: { source: 'hidden' },
label: dynamic_form_1.config.i18n `Hide`
},
control: 'Checkbox'
},
{
bound: true,
props: {
value: { source: 'className' },
label: dynamic_form_1.config.i18n `Css Class`
},
control: 'Input'
},
{
control: 'Code',
bound: true,
props: {
label: 'Style',
display: 'topLabel',
value: { source: 'css' },
language: 'css',
placeholder: 'Css styling'
},
documentation: `Apply css styles to your control`
}
]
}
];
//# sourceMappingURL=property_panel.js.map