/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module SnapMode
 */
import "./Panel.scss";
import classnames from "classnames";
import * as React from "react";
import { TitleBar } from "../dialog/TitleBar";
/** Snap mode panel used with [[SnapMode]] component.
 * @note This is a presentational component and should be aligned with [[SnapMode]] component.
 * I.e. use [[FooterPopup]] to handle alignment.
 * @internal
 */
export class SnapModePanel extends React.PureComponent {
    render() {
        const className = classnames("nz-footer-snapMode-panel", this.props.className);
        return (React.createElement("div", { className: className, style: this.props.style },
            React.createElement(TitleBar, { title: this.props.title }),
            React.createElement("div", { className: "nz-snaps" }, this.props.children)));
    }
}
//# sourceMappingURL=Panel.js.map