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