"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 Footer
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ToolAssistanceDialog = void 0;
require("./Dialog.scss");
const classnames_1 = require("classnames");
const React = require("react");
const Dialog_1 = require("../dialog/Dialog");
const TitleBar_1 = require("../dialog/TitleBar");
/** Tool assistance dialog used with [[ToolAssistance]] component.
 * @note This is a presentational component and should be aligned with [[ToolAssistance]] component.
 * I.e. use [[FooterPopup]] to handle alignment.
 * @internal
 */
class ToolAssistanceDialog extends React.PureComponent {
    render() {
        const className = (0, classnames_1.default)("nz-footer-toolAssistance-dialog", this.props.className);
        return (React.createElement(Dialog_1.Dialog, { className: className, style: this.props.style, titleBar: React.createElement(TitleBar_1.TitleBar, { title: this.props.title }, this.props.buttons) },
            React.createElement("div", { className: "nz-content" }, this.props.children)));
    }
}
exports.ToolAssistanceDialog = ToolAssistanceDialog;
//# sourceMappingURL=Dialog.js.map