"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 Widget
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.WidgetMenu = void 0;
require("./Menu.scss");
const classnames_1 = require("classnames");
const React = require("react");
const core_react_1 = require("@itwin/core-react");
const appui_abstract_1 = require("@itwin/appui-abstract");
/** @internal */
function WidgetMenu(props) {
    const className = (0, classnames_1.default)("nz-widget-menu", 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, position: appui_abstract_1.RelativePosition.BottomLeft, style: props.style, showShadow: false, target: props.target },
        React.createElement("div", { className: "nz-widget-menu_tabs" }, props.children)));
}
exports.WidgetMenu = WidgetMenu;
//# sourceMappingURL=Menu.js.map