import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2024-2026 GoodData Corporation
import { BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
import { AddVisualizationSwitcherWidgetButton } from "../../dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js";
import { DraggableVisualizationSwitcherCreatePanelItem } from "../../dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js";
/**
 * @internal
 */
export function CreatableVisualizationSwitcher({ WrapCreatePanelItemWithDragComponent, }) {
    return (_jsx(BubbleHoverTrigger, { eventsOnBubble: true, className: "s-add-visualization-switcher-bubble-trigger", children: _jsx(DraggableVisualizationSwitcherCreatePanelItem, { CreatePanelItemComponent: AddVisualizationSwitcherWidgetButton, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent }) }));
}
