import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2022-2026 GoodData Corporation
import { hasParent } from "../../../../_staging/layout/coordinates.js";
import { WidgetDropZoneBox } from "./WidgetDropZoneBox.js";
export function WidgetDropZone({ isLastInSection, dropRef, layoutPath }) {
    return (_jsx("div", { className: "widget-dropzone", ref: dropRef, children: _jsx(WidgetDropZoneBox, { isLast: isLastInSection, isInContainer: hasParent(layoutPath) }) }));
}
//# sourceMappingURL=WidgetDropZone.js.map