import { invariant as e } from "../../../../../../@react-dnd_invariant@4.0.2/node_modules/@react-dnd/invariant/dist/index.js";
import { useMemo as c } from "react";
function a(t) {
  const { accept: r } = t;
  return c(() => (e(t.accept != null, "accept must be defined"), Array.isArray(r) ? r : [
    r
  ]), [
    r
  ]);
}
export {
  a as useAccept
};
//# sourceMappingURL=useAccept.js.map
