import { useMemo as t, useEffect as p } from "react";
import { DropTargetImpl as f } from "./DropTargetImpl.es.js";
function n(r, e) {
  const o = t(
    () => new f(r, e),
    [
      e
    ]
  );
  return p(() => {
    o.spec = r;
  }, [
    r
  ]), o;
}
export {
  n as useDropTarget
};
//# sourceMappingURL=useDropTarget.es.js.map
