"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UIOverlay = void 0;
const react_1 = __importDefault(require("react"));
const react_2 = require("@fluentui/react");
/**
 * UILoader component
 * based on https://developer.microsoft.com/en-us/fluentui#/controls/web/overlay
 *
 * @exports
 * @class UIOverlay
 * @extends {React.Component<IOverlayProps, {}>}
 */
class UIOverlay extends react_1.default.Component {
    /**
     * Initializes component properties.
     *
     * @param {IOverlayProps} props
     */
    constructor(props) {
        super(props);
    }
    /**
     * @returns {JSX.Element}
     */
    render() {
        const overlayStyles = () => ({
            ...{
                root: {}
            }
        });
        return (react_1.default.createElement(react_2.Overlay, { ...this.props, styles: overlayStyles }, this.props.children));
    }
}
exports.UIOverlay = UIOverlay;
//# sourceMappingURL=UIOverlay.js.map