/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Widget
 */
import "./Menu.scss";
import classnames from "classnames";
import * as React from "react";
import { Popup } from "@itwin/core-react";
import { RelativePosition } from "@itwin/appui-abstract";
/** @internal */
export function WidgetMenu(props) {
    const className = classnames("nz-widget-menu", props.className);
    return (
    // eslint-disable-next-line @typescript-eslint/no-deprecated
    React.createElement(Popup, { className: className, isOpen: props.open, offset: 0, onClose: props.onClose, position: RelativePosition.BottomLeft, style: props.style, showShadow: false, target: props.target },
        React.createElement("div", { className: "nz-widget-menu_tabs" }, props.children)));
}
//# sourceMappingURL=Menu.js.map