import r from "../../../../rc-util/es/Children/toArray.mjs";
function e(t) {
  if (typeof t == "function")
    return t;
  const o = r(t);
  return o.length <= 1 ? o[0] : o;
}
export {
  e as default
};
