Repository URL to install this package:
|
Version:
2.7.11 ▾
|
@skava/ui
/
dist
/
components
/
abstractions
/
Subscription
/
PaymentInformationForm
/
PaymentInformationForm.js
|
|---|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const renderProps_1 = require("./renderProps");
class PaymentInformationForm extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
renderWrapper,
renderBox
} = _a,
remainingProps = tslib_1.__rest(_a, ["renderWrapper", "renderBox"]);
const children = renderBox(remainingProps);
const view = renderWrapper(Object.assign({
children
}, remainingProps));
return view;
}
}
PaymentInformationForm.defaultProps = {
className: '',
renderButton: renderProps_1.defaultRenderButton,
renderPaymentForm: renderProps_1.defaultRenderPaymentForm,
renderCheckBox: renderProps_1.defaultRenderCheckBox,
renderBillingForm: renderProps_1.defaultRenderBillingForm,
renderBox: renderProps_1.defaultRenderBox,
renderWrapper: renderProps_1.defaultRenderWrapper,
renderForm: renderProps_1.defaultRenderForm
};
exports.PaymentInformationForm = PaymentInformationForm;
exports.default = PaymentInformationForm; //# sourceMappingURL=PaymentInformationForm.js.map