blob: 4ba274cc510480e31a3d5990fc48488ff1f8cbc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
import React from 'react'
import Input from '../../../components/Input/Input'
import LabelCard from '../../../components/LabelCard/LabelCard'
import styles from './FormOne.module.css'
const FormOne = () => {
return (
<div className={styles.formone}>
<div className={styles.formone__radio}>
<span className={styles.formone__resident}>
<input
type="radio"
id="indian"
name="resident"
value="Indian Resident"
required
/>
<label htmlFor="indian">Indian Resident</label>
</span>
<span className={styles.formone__resident}>
<input
type="radio"
id="indian"
name="resident"
value="Indian Resident"
required
/>
<label htmlFor="indian">Non-Residential Indian</label>
</span>
</div>
<Input type="text" id="fullName" label="Full Name" value="Full Name" />
<div className={styles.formone__gender}>
<LabelCard
id="male"
name="gender"
title="Male"
image={`${process.env.PUBLIC_URL}/assets/images/male.svg`}
/>
<LabelCard
id="female"
name="gender"
value="female"
title="Female"
image={`${process.env.PUBLIC_URL}/assets/images/female.svg`}
/>
<LabelCard
id="trans"
name="gender"
value="trans"
title="Transgender"
image={`${process.env.PUBLIC_URL}/assets/images/trans.svg`}
/>
</div>
<div className={styles.formone__dob}>
<label htmlFor="dob">Date of Birth</label>
<input
className={styles.formone__dob_input}
type="date"
id="dob"
name="dob"
value="Date of Birth"
required
/>
</div>
</div>
)
}
export default FormOne
|