/*---------------------------------------------------------------------------------------------
 * 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
 */
import "./TitleBar.scss";
import classnames from "classnames";
import * as React from "react";
/** Title bar of [[Dialog]] component.
 * @note Use [StatusBarDialog.TitleBar]($appui-react) instead
 * @internal
 */
export function TitleBar(props) {
    const className = classnames("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));
}
//# sourceMappingURL=TitleBar.js.map