"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 ToolSettings
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatusBarOverflowPanel = void 0;
require("./OverflowPanel.scss");
const classnames_1 = require("classnames");
const React = require("react");
const core_react_1 = require("@itwin/core-react");
/** Displays overflow status bar items.
 * @internal
 */
function StatusBarOverflowPanel(props) {
    const className = (0, classnames_1.default)("uifw-statusbar-panel", props.className);
    return (React.createElement(core_react_1.Popup, { className: className, isOpen: props.open, offset: 0, onClose: props.onClose, style: props.style, showShadow: true, target: props.target }, props.children));
}
exports.StatusBarOverflowPanel = StatusBarOverflowPanel;
//# sourceMappingURL=OverflowPanel.js.map