"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 Message
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.TitleBar = void 0;
require("./TitleBar.scss");
const classnames_1 = require("classnames");
const React = require("react");
/** Title bar of [[Dialog]] component.
 * @note Use [StatusBarDialog.TitleBar]($appui-react) instead
 * @internal
 */
function TitleBar(props) {
    const className = (0, classnames_1.default)("nz-footer-dialog-titleBar", props.className);
    return (React.createElement("div", { className: className, style: props.style },
        React.createElement("span", { className: "nz-title" }, props.title),
        props.children));
}
exports.TitleBar = TitleBar;
//# sourceMappingURL=TitleBar.js.map