-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.tsx
55 lines (47 loc) · 951 Bytes
/
types.tsx
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
// Principal routes stack
export type RootStackParamList = {
Welcome: undefined;
Login: undefined;
Register: undefined;
Root: undefined;
NotFound: undefined;
};
// BottomTab routes stack
export type BottomTabParamList = {
Home: undefined;
Analyze: undefined;
Profile: undefined;
};
export type TabHome = {
HomeScreen: undefined;
};
export type TabAnallize = {
AnalizeScreen: undefined;
CameraScreen: undefined;
};
export type TabProfile = {
ProfileScreen: undefined;
};
export type ThemeProps = {
light?: string;
dark?: string;
themed?: boolean;
primary?: boolean;
secondary?: boolean;
};
export type IconProps = {
name: any;
size: number;
color?: string;
module?: string;
};
export type FormData = {
name: string;
lastName: string;
email: string;
password: string;
};
export type LoginFormData = {
email: string;
password: string;
};