import u from "../../../rc-util/es/Children/toArray.mjs";
function t(o, a) {
  return o && Array.isArray(o) ? o : u(a).map((r) => {
    var n, i;
    return Object.assign({
      children: (i = (n = r == null ? void 0 : r.props) === null || n === void 0 ? void 0 : n.children) !== null && i !== void 0 ? i : ""
    }, r.props);
  });
}
export {
  t as default
};
