import * as ReactDOM from 'react-dom';
import { styled } from '../../Utilities';
import { LayerBase } from './Layer.base';
import { PortalLayerBase } from './PortalLayer.base';
import { getStyles } from './Layer.styles';
var portalSupport = !!ReactDOM.createPortal;
export var Layer = styled(portalSupport ? PortalLayerBase : LayerBase, getStyles);
//# sourceMappingURL=Layer.js.map