"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ReactDOM = require("react-dom");
var Utilities_1 = require("../../Utilities");
var Layer_base_1 = require("./Layer.base");
var PortalLayer_base_1 = require("./PortalLayer.base");
var Layer_styles_1 = require("./Layer.styles");
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