/*---------------------------------------------------------------------------------------------
 * 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
 */
import "./Panel.scss";
import classnames from "classnames";
import * as React from "react";
import { Popup } from "@itwin/core-react";
/** Displays overflown tool settings.
 * @internal
 */
export function ToolSettingsOverflowPanel(props) {
    const className = classnames("nz-toolSettings-panel", props.className);
    return (
    // eslint-disable-next-line deprecation/deprecation
    React.createElement(Popup, { className: className, isOpen: props.open, offset: 0, onClose: props.onClose, style: props.style, showShadow: true, target: props.target }, props.children));
}
//# sourceMappingURL=Panel.js.map