import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2020-2026 GoodData Corporation
import cx from "classnames";
import { DashboardItem } from "../../../presentationComponents/DashboardItems/DashboardItem.js";
import { DashboardItemBase } from "../../../presentationComponents/DashboardItems/DashboardItemBase.js";
import { DashboardVisualizationSwitcher } from "../../visualizationSwitcher/DashboardVisualizationSwitcher.js";
/**
 * @internal
 */
export function ExportableDashboardVisualizationSwitcherWidget({ widget, screen, dashboardItemClasses, exportData, }) {
    return (_jsx(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget"), screen: screen, exportData: exportData?.section, children: _jsx(DashboardItemBase, { visualizationClassName: "gd-visualization-switcher-widget-wrapper", isExport: true, children: () => (_jsx(DashboardVisualizationSwitcher, { widget: widget, screen: screen, exportData: exportData })) }) }));
}
