import React from "react"; import styles from "./Input.css"; import animations from "styles/animations.css"; function InputField({className, type, id, value, onChange, inputType}) { // idk how to do this less uglily switch (inputType) { case "textarea": return ; default: break; } return ; } export default function Input({className, type, field, title, setField, validateField, inputType}) { return (