import { useMemo as f, useEffect as m } from "react";
import { DragSourceImpl as t } from "./DragSourceImpl.es.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.es.js.map
