import { jsx as o } from "react/jsx-runtime";
import s from "react";
import { XAxis as e, YAxis as p } from "recharts";
import n from "./YAxis.js";
const x = (r, i) => {
  const t = `additional-axis-${i}`;
  if (s.isValidElement(r)) {
    if (r.type === m)
      return /* @__PURE__ */ o(e, { ...r.props }, t);
    if (r.type === n)
      return /* @__PURE__ */ o(p, { ...r.props }, t);
  }
  return null;
}, m = (r) => null;
export {
  m as default,
  x as renderAxis
};
//# sourceMappingURL=XAxis.js.map
