import React, {ChangeEvent} from "react"; interface TextInputProps { value: string; setValue?: (e: ChangeEvent) => void; placeholder?: string; readOnly?: boolean; disabled?: boolean; onFocus?: () => void; } export default function TextInput( { value, setValue, placeholder, readOnly = false, disabled = false, onFocus }: TextInputProps) { return ( ) }