A controlled text input usually receives a value prop and an onChange handler that updates the state backing that value.