Repository URL to install this package:
|
Version:
2.7.6 ▾
|
@skava/ui
/
dist
/
components
/
abstractions
/
BundleProduct
/
CheckoutCartBundle
/
CheckoutCartBundle.js
|
|---|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const AnimatedExpandableCard_1 = require("../../../presets/AnimatedExpandableCard");
const renderProps_1 = require("./renderProps");
class CheckoutCartBundle extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
renderHeader
} = _a,
remainingProps = tslib_1.__rest(_a, ["renderHeader"]);
return react_1.default.createElement(AnimatedExpandableCard_1.AnimatedExpandableCard, Object.assign({
renderHeaderView: renderHeader,
renderExpandableView: renderProps_1.defaultRenderExpandable,
renderFooterView: renderProps_1.defaultRenderFooter
}, remainingProps));
}
}
CheckoutCartBundle.defaultProps = {
className: '',
renderHeader: renderProps_1.defaultRenderHeader,
renderList: renderProps_1.defaultRenderList,
renderItem: renderProps_1.defaultRenderCheckoutItem
};
exports.CheckoutCartBundle = CheckoutCartBundle;
exports.default = CheckoutCartBundle; //# sourceMappingURL=CheckoutCartBundle.js.map