({
id,
className,
label,
required,
value,
defaultValue,
placeholder,
onChange,
}: Props)
| 13 | } |
| 14 | |
| 15 | export default function EmailField({ |
| 16 | id, |
| 17 | className, |
| 18 | label, |
| 19 | required, |
| 20 | value, |
| 21 | defaultValue, |
| 22 | placeholder, |
| 23 | onChange, |
| 24 | }: Props) { |
| 25 | return ( |
| 26 | <TextField |
| 27 | id={id} |
| 28 | className={className} |
| 29 | label={label} |
| 30 | required={required} |
| 31 | type="email" |
| 32 | value={value} |
| 33 | defaultValue={defaultValue} |
| 34 | placeholder={placeholder} |
| 35 | onChange={onChange} |
| 36 | /> |
| 37 | ); |
| 38 | } |
nothing calls this directly
no outgoing calls
no test coverage detected