import { ChangeEventHandler, KeyboardEventHandler } from "react"; type Props = { autoFocus?: boolean; value?: string; type?: string; placeholder?: string; onChange: ChangeEventHandler; onKeyDown?: KeyboardEventHandler | undefined; className?: string; spellCheck?: boolean; }; export default function TextInput({ autoFocus, value, type, placeholder, onChange, onKeyDown, className, spellCheck, }: Props) { return ( ); }