/*---------------------------------------------------------------------------------------------
 * 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
 */
import "./Dialog.scss";
import classnames from "classnames";
import * as React from "react";
import { Dialog } from "../dialog/Dialog.js";
import { TitleBar } from "../dialog/TitleBar.js";
/** 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
 */
export class ToolAssistanceDialog extends React.PureComponent {
    render() {
        const className = classnames("nz-footer-toolAssistance-dialog", this.props.className);
        return (React.createElement(Dialog, { className: className, style: this.props.style, titleBar: React.createElement(TitleBar, { title: this.props.title }, this.props.buttons) },
            React.createElement("div", { className: "nz-content" }, this.props.children)));
    }
}
//# sourceMappingURL=Dialog.js.map