// (C) 2022-2024 GoodData Corporation
import { useDashboardDrop } from "../useDashboardDrop.js";
export function useIsDraggingWidget() {
    const [{ canDrop: isDraggingWidget }] = useDashboardDrop([
        "insightListItem",
        "kpi-placeholder",
        "insight-placeholder",
        "kpi",
        "insight",
        "richText",
        "richTextListItem",
        "visualizationSwitcher",
        "visualizationSwitcherListItem",
        "dashboardLayout",
        "dashboardLayoutListItem",
    ], {}, []);
    return isDraggingWidget;
}
