import { invariant as e } from "../../../../@react-dnd/invariant/dist/index.es.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.es.js.map
