Repository URL to install this package:
|
Version:
2.1.1 ▾
|
@skava/ui-presets
/
dist
/
abstractions
/
Subscription
/
SubscriptionOrderInformation
/
SubscriptionOrderInformation.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 SubscriptionOrderInformation extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
renderWrapper
} = _a,
reamainingProps = tslib_1.__rest(_a, ["renderWrapper"]);
const children = renderProps_1.defaultRenderBox(reamainingProps);
const view = renderWrapper(Object.assign({
children
}, reamainingProps));
return view;
}
}
SubscriptionOrderInformation.defaultProps = {
className: '',
renderOrderInformation: renderProps_1.defaultRenderOrderInformation,
renderDeliveryInformation: renderProps_1.defaultRenderDeliveryInformation,
renderWrapper: renderProps_1.defaultRenderWrapper
};
exports.SubscriptionOrderInformation = SubscriptionOrderInformation;
exports.default = SubscriptionOrderInformation;