import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2022-2026 GoodData Corporation
import { BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
import { AddRichTextWidgetButton } from "../../dragAndDrop/draggableWidget/AddRichTextWidgetButton.js";
import { DraggableRichTextCreatePanelItem } from "../../dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js";
/**
 * @internal
 */
export function CreatableRichText({ WrapCreatePanelItemWithDragComponent }) {
    return (_jsx(BubbleHoverTrigger, { eventsOnBubble: true, className: "s-add-kpi-bubble-trigger", children: _jsx(DraggableRichTextCreatePanelItem, { CreatePanelItemComponent: AddRichTextWidgetButton, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent }) }));
}
//# sourceMappingURL=CreatableRichText.js.map