"use strict";
/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Dialog
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModalDialogRenderer = void 0;
const React = require("react");
const DialogManagerBase_1 = require("./DialogManagerBase");
const InternalModalDialogManager_1 = require("./InternalModalDialogManager");
/** ModalDialogRenderer React component renders modal dialogs
 * @public
 */
class ModalDialogRenderer extends React.PureComponent {
    constructor(props) {
        super(props);
    }
    render() {
        return (React.createElement(DialogManagerBase_1.DialogRendererBase, { ...this.props, dialogManager: InternalModalDialogManager_1.InternalModalDialogManager.dialogManager }));
    }
}
exports.ModalDialogRenderer = ModalDialogRenderer;
//# sourceMappingURL=ModalDialogManager.js.map