define(["require", "exports", "react-dom", "../../Utilities", "./Layer.base", "./PortalLayer.base", "./Layer.styles"], function (require, exports, ReactDOM, Utilities_1, Layer_base_1, PortalLayer_base_1, Layer_styles_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var portalSupport = !!ReactDOM.createPortal;
    exports.Layer = Utilities_1.styled(portalSupport ? PortalLayer_base_1.PortalLayerBase : Layer_base_1.LayerBase, Layer_styles_1.getStyles);
});
//# sourceMappingURL=Layer.js.map