({
email,
password,
updateFields,
}: AccountFormProps)
| 10 | } |
| 11 | |
| 12 | export function AccountForm({ |
| 13 | email, |
| 14 | password, |
| 15 | updateFields, |
| 16 | }: AccountFormProps) { |
| 17 | return ( |
| 18 | <FormWrapper title="Account Creation"> |
| 19 | <label>Email</label> |
| 20 | <input |
| 21 | autoFocus |
| 22 | required |
| 23 | type="email" |
| 24 | value={email} |
| 25 | onChange={e => updateFields({ email: e.target.value })} |
| 26 | /> |
| 27 | <label>Password</label> |
| 28 | <input |
| 29 | required |
| 30 | type="password" |
| 31 | value={password} |
| 32 | onChange={e => updateFields({ password: e.target.value })} |
| 33 | /> |
| 34 | </FormWrapper> |
| 35 | ) |
| 36 | } |
nothing calls this directly
no test coverage detected