import { c as _c } from "react/compiler-runtime";
import { memo } from "react";
import TextBox from "./TextBox";
/**
 * This component is a separate component by intention. We may use a different component in the future.
 * Currently, it's just a styled textbox with a date type, so we can have native input capabilities on mobile devices.
 */
export default memo(function DateInput(props) {
  const $ = _c(3);
  const t0 = props.type ?? "date";
  let t1;
  if ($[0] !== props || $[1] !== t0) {
    t1 = <TextBox {...props} type={t0} />;
    $[0] = props;
    $[1] = t0;
    $[2] = t1;
  } else {
    t1 = $[2];
  }
  return t1;
});
//# sourceMappingURL=DateInput.jsx.map