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