Repository URL to install this package:
|
Version:
2.1.6 ▾
|
@skava/ui-presets
/
dist
/
presets
/
Checkout
/
RegisteredUser
/
SingleCartProduct
/
SingleShipping
/
state.js
|
|---|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const mobx_1 = require("xmobx/mobx");
const ExpandableCard_1 = require("@skava/ui/dist/components/organisms/ExpandableCard");
class SingleShippingInstance extends ExpandableCard_1.ExpandableState {
setShippingAddress(shippingAddress) {
this.address = shippingAddress;
}
}
tslib_1.__decorate([mobx_1.observable], SingleShippingInstance.prototype, "address", void 0);
tslib_1.__decorate([mobx_1.action.bound], SingleShippingInstance.prototype, "setShippingAddress", null);
exports.SingleShippingInstance = SingleShippingInstance;