Repository URL to install this package:
|
Version:
3.0.1 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const exotic_1 = require("exotic");
const PaymentSummary_1 = require("../../../abstractions/Order/PaymentSummary");
const renderProps_1 = require("./renderProps");
class PaymentSummary extends react_1.default.PureComponent {
render() {
return react_1.default.createElement(PaymentSummary_1.PaymentSummary, Object.assign({}, this.props));
}
}
PaymentSummary.defaultProps = {
className: '',
/**
* data
*/
shippingAddressInfo: exotic_1.EMPTY_OBJ,
shippingMethodInfo: exotic_1.EMPTY_OBJ,
paymentMethodInfo: exotic_1.EMPTY_OBJ,
orderSummaryInfo: exotic_1.EMPTY_OBJ,
/**
* render props
*/
renderShippingAddress: renderProps_1.defaultRenderShippingAddress,
renderShippingMethod: renderProps_1.defaultRenderShippingMethod,
renderPaymentMethod: renderProps_1.defaultRenderPaymentMethod,
renderOrderSummary: renderProps_1.defaultRenderOrderSummary
};
exports.PaymentSummary = PaymentSummary;
exports.default = PaymentSummary; //# sourceMappingURL=PaymentSummary.js.map