import * as r from "react";
const o = (e) => {
  if (!r.isValidElement(e)) throw Error(`Expected a single React Element child, but got: ${r.Children.toArray(e).map((t) => typeof t == "object" && "type" in t && typeof t.type == "string" ? t.type : typeof t).join(", ")}`);
  return e;
};
export {
  o as requireReactElement
};
//# sourceMappingURL=require-react-element.js.map
