Repository URL to install this package:
|
Version:
2.7.3 ▾
|
"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 renderProps_1 = require("./renderProps");
class PhysicalAddress extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
renderWrapper,
renderDetails
} = _a,
remainingProps = tslib_1.__rest(_a, ["renderWrapper", "renderDetails"]);
const children = renderDetails(remainingProps);
const view = renderWrapper(Object.assign({}, remainingProps, {
children
}));
return view;
}
}
PhysicalAddress.defaultProps = {
className: '',
address: exotic_1.EMPTY_OBJ,
renderDetails: renderProps_1.defaultRenderDetails,
renderWrapper: renderProps_1.defaultRenderWrapper
};
exports.PhysicalAddress = PhysicalAddress;
exports.default = PhysicalAddress; //# sourceMappingURL=PhysicalAddress.js.map