-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathSignUpFields.js
More file actions
76 lines (73 loc) · 1.16 KB
/
SignUpFields.js
File metadata and controls
76 lines (73 loc) · 1.16 KB
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
73
74
75
76
import subjectList from './__mockList';
const formFields = [
[
{
name: 'firstName',
label: 'First Name',
type: 'text',
fieldProps: {
autoCorrect: false,
},
},
],
[
{
name: 'cpf',
label: 'CPF',
type: 'cpf',
},
],
[
{
name: 'email',
label: 'Email',
type: 'email',
fieldProps: {
autoCorrect: false,
autoCapitalize: 'none',
keyboardType: 'email-address',
},
},
],
[
{
name: 'subject',
placeholder: 'Pick a topic of your interest',
pickerItems: subjectList,
type: 'picker',
},
],
[
{
name: 'password',
label: 'Password',
type: 'text',
fieldProps: {
secureTextEntry: true,
},
},
],
[
{
name: 'subscribe',
label: 'Subscribe me to weekly news from Tech world.',
type: 'boolean',
defaultValue: true,
},
],
[
{
name: 'signUpButton',
label: 'Sign Up',
type: 'button',
},
],
[
{
name: 'resetButton',
label: 'Reset',
type: 'reset',
},
],
];
export default formFields;