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