Repository URL to install this package:
|
Version:
3.7.2 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const styled_1 = require("./styled");
exports.defaultRenderForm = (props) => (React.createElement(styled_1.StyledForm, { className: props.className, id: props.id, "aria-invalid": props.state.isValid === false, onSubmit: props.onSubmit }, props.children));
exports.defaultRenderButtonGroup = (props) => (
// onClick={props.onSubmit} < is not submit
React.createElement(styled_1.StyledSubmitButton, { onClick: props.onSubmit }, "Continue"));
//# sourceMappingURL=renderProps.js.map