/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Item
 */
import "./Toolbars.scss";
import * as React from "react";
import { useActiveFrontstageDef } from "../frontstage/FrontstageDef";
import { NavigationWidget } from "../preview/control-widget-visibility/NavigationWidget";
/** @internal */
export function WidgetPanelsToolbars() {
    const frontstageDef = useActiveFrontstageDef();
    const tools = frontstageDef?.contentManipulation?.reactNode;
    const navigation = frontstageDef?.viewNavigation?.reactNode;
    return (React.createElement("div", { className: "uifw-widgetPanels-toolbars" },
        tools,
        React.createElement(NavigationWidget, null, navigation)));
}
//# sourceMappingURL=Toolbars.js.map