import { forwardRef } from "react"; interface InputProps { type?: string; className?: string; defaultValue?: string; placeholder?: string; name?: string; onChange?: React.ChangeEventHandler; } const Input = forwardRef(function input( { type = "text", className, defaultValue, placeholder, name, onChange }, ref, ) { return ( ); }); export default Input;