Formular surven event typecript
onSubmit={(e: React.SyntheticEvent) => {
e.preventDefault();
}
Healthy Hippopotamus
onSubmit={(e: React.SyntheticEvent) => {
e.preventDefault();
}
onChange = (e: React.FormEvent<HTMLInputElement>) => {
e.preventDefault()
}
// For onChange
update = (e: React.ChangeEvent<HTMLInputElement>): void => {
this.props.login[e.currentTarget.name] = e.currentTarget.value
}