@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
33 lines • 987 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const comment_view_1 = require("./comment_view");
const editor_common_1 = require("../editor/editor_common");
const enums_1 = require("./enums");
exports.CommentEditor = {
Component: comment_view_1.Comment,
title: 'Comment',
control: 'Comment',
icon: 'comment',
props: editor_common_1.propGroup('Comment', {
content: editor_common_1.boundProp(),
header: editor_common_1.boundProp({
default: 'Comment'
}),
icon: editor_common_1.boundProp({
default: 'comments outline'
}),
color: editor_common_1.boundProp({
default: 'yellow',
control: 'Select',
props: {
options: enums_1.colors
}
})
}),
defaultProps: {
header: 'Comment',
icon: 'comments outline',
color: 'yellow'
}
};
//# sourceMappingURL=comment_editor.js.map