Repository URL to install this package:
|
Version:
3.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const styled_1 = require("./styled");
function defaultRenderFormFields(props) {
return react_1.default.createElement(react_1.default.Fragment, null, react_1.default.createElement(styled_1.CommentBoxWrapper, null, react_1.default.createElement(styled_1.CommentBox, {
height: 140
})), react_1.default.createElement(styled_1.ButtonWrapper, null, react_1.default.createElement(styled_1.ActionButton, {
height: 50
}), react_1.default.createElement(styled_1.ActionButton, {
height: 50
})));
}
exports.defaultRenderFormFields = defaultRenderFormFields;
function defaultRenderWrapper(props) {
const {
className,
children
} = props;
const passThroughProps = Object.freeze({
className,
'data-qa': props['data-qa']
});
return react_1.default.createElement(styled_1.Wrapper, Object.assign({}, passThroughProps), children);
}
exports.defaultRenderWrapper = defaultRenderWrapper; //# sourceMappingURL=renderProps.js.map