"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.ToolSettingsOverflowPanel = void 0;
require("./Panel.scss");
const classnames_1 = require("classnames");
const React = require("react");
const core_react_1 = require("@itwin/core-react");
/** Displays overflown tool settings.
 * @internal
 */
function ToolSettingsOverflowPanel(props) {
    const className = (0, classnames_1.default)("nz-toolSettings-panel", props.className);
    return (
    // eslint-disable-next-line deprecation/deprecation
    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.ToolSettingsOverflowPanel = ToolSettingsOverflowPanel;
//# sourceMappingURL=Panel.js.map