import { jsx as m } from "react/jsx-runtime";
import { InputBase as p } from "./index-InputBase.js";
import { ComponentContainer as a } from "./index-ComponentContainer.js";
import { useMemo as i } from "react";
const I = (t) => {
  const {
    className: n,
    inputClassName: o,
    type: e = "text",
    testId: s
  } = t, r = i(() => e === "number" ? "InputNumber" : "Input", [e]);
  return m(a, {
    className: n,
    children: m(p, {
      testId: s,
      formFieldType: r,
      type: e,
      multiline: !1,
      ...t,
      className: o
    })
  });
};
export {
  I as Input
};
