@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
23 lines (21 loc) • 671 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const form_view_1 = require("../form_view");
const common_1 = require("../common");
exports.formStyle = common_1.css `
.disabled,
:disabled {
opacity: 1 !important;
cursor: auto;
}
label {
cursor: auto !important;
}
label:before {
border: solid 1px #d4d4d5 !important;
}
`;
exports.SemanticFormView = props => (React.createElement(form_view_1.FormView, Object.assign({}, props, { className: props.readOnly ? exports.formStyle : '' })));
//# sourceMappingURL=form_view.js.map