react-native-exp-fig 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package.json +200 -200
  2. package/src/common/constants/index.ts +5 -0
  3. package/src/common/icons-svg/arrow-drop-down/index.tsx +28 -28
  4. package/src/common/icons-svg/arrow-left/index.tsx +32 -32
  5. package/src/common/icons-svg/bluetooth/index.tsx +37 -37
  6. package/src/common/icons-svg/bluetooth-connected/index.tsx +41 -41
  7. package/src/common/icons-svg/calendar/index.tsx +40 -40
  8. package/src/common/icons-svg/call-bell/index.tsx +29 -29
  9. package/src/common/icons-svg/camera-plus/index.tsx +40 -40
  10. package/src/common/icons-svg/chart-bar/index.tsx +29 -0
  11. package/src/common/icons-svg/check-box-fill/index.tsx +30 -30
  12. package/src/common/icons-svg/check-box-outline/index.tsx +30 -30
  13. package/src/common/icons-svg/check-circle/index.tsx +27 -27
  14. package/src/common/icons-svg/closed/index.tsx +34 -34
  15. package/src/common/icons-svg/constants/index.ts +46 -43
  16. package/src/common/icons-svg/credit-card/index.tsx +32 -32
  17. package/src/common/icons-svg/currency/index.tsx +39 -39
  18. package/src/common/icons-svg/currency-circle-dollar/index.tsx +29 -0
  19. package/src/common/icons-svg/eye/index.tsx +31 -31
  20. package/src/common/icons-svg/eye-slash/index.tsx +31 -31
  21. package/src/common/icons-svg/file-text/index.tsx +39 -39
  22. package/src/common/icons-svg/gas-pump/index.tsx +39 -39
  23. package/src/common/icons-svg/gauge/index.tsx +39 -39
  24. package/src/common/icons-svg/gear/index.tsx +39 -39
  25. package/src/common/icons-svg/index.tsx +167 -149
  26. package/src/common/icons-svg/interface.d.ts +18 -18
  27. package/src/common/icons-svg/list/index.tsx +58 -58
  28. package/src/common/icons-svg/moon-stars/index.tsx +29 -29
  29. package/src/common/icons-svg/note-pincel/index.tsx +40 -40
  30. package/src/common/icons-svg/package/index.tsx +29 -0
  31. package/src/common/icons-svg/package-check/index.tsx +45 -45
  32. package/src/common/icons-svg/shopping-cart/index.tsx +39 -39
  33. package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
  34. package/src/common/icons-svg/steering-wheel-fill/index.tsx +36 -36
  35. package/src/common/icons-svg/timer/index.tsx +39 -39
  36. package/src/common/icons-svg/trophy/index.tsx +29 -29
  37. package/src/common/icons-svg/truck/index.tsx +39 -39
  38. package/src/common/icons-svg/truck-trailer/index.tsx +36 -0
  39. package/src/common/icons-svg/wifi-high/index.tsx +43 -43
  40. package/src/common/icons-svg/wifi-x/index.tsx +50 -50
  41. package/src/components/box/index.tsx +47 -47
  42. package/src/components/box/interface.d.ts +31 -31
  43. package/src/components/box/styles.ts +21 -21
  44. package/src/components/button/index.tsx +61 -61
  45. package/src/components/button/interface.d.ts +40 -40
  46. package/src/components/button/styles.ts +34 -34
  47. package/src/components/capture-photo/index.tsx +125 -125
  48. package/src/components/capture-photo/interface.d.ts +44 -44
  49. package/src/components/capture-photo/styles.ts +24 -24
  50. package/src/components/card-hours/index.tsx +118 -118
  51. package/src/components/card-hours/interface.d.ts +37 -37
  52. package/src/components/card-scheduled-journey/index.tsx +138 -138
  53. package/src/components/card-scheduled-journey/interface.ts +42 -42
  54. package/src/components/card-scheduled-journey/styles.ts +26 -26
  55. package/src/components/header-profile/index.tsx +128 -128
  56. package/src/components/header-profile/interface.d.ts +52 -52
  57. package/src/components/input/index.tsx +176 -180
  58. package/src/components/input/interface.d.ts +55 -55
  59. package/src/components/input/styles.ts +23 -23
  60. package/src/components/menu-item/index.tsx +78 -0
  61. package/src/components/menu-item/interface.d.ts +19 -0
  62. package/src/components/menu-item/styles.ts +0 -0
  63. package/src/components/scheduled-journey-indicators/index.tsx +99 -99
  64. package/src/components/scheduled-journey-indicators/interface.d.ts +18 -18
  65. package/src/components/selects/select-option/index.tsx +104 -104
  66. package/src/components/selects/select-option/interface.d.ts +18 -18
  67. package/src/components/selects/select-option/styles.ts +75 -75
  68. package/src/components/step-indicator/helpers/get-icon-by-status.tsx +20 -20
  69. package/src/components/step-indicator/index.tsx +164 -164
  70. package/src/components/step-indicator/interface.d.ts +34 -34
  71. package/src/components/step-indicator/styles.ts +67 -67
  72. package/src/components/typography/index.tsx +67 -67
  73. package/src/components/typography/interface.d.ts +102 -102
  74. package/src/components/typography/styles.ts +34 -34
  75. package/src/components/user-profile/index.tsx +216 -0
  76. package/src/components/user-profile/interface.d.ts +22 -0
  77. package/src/index.tsx +25 -23
  78. package/src/stories/box/box.stories.tsx +106 -106
  79. package/src/stories/button/button.stories.tsx +143 -143
  80. package/src/stories/capture-photo/capture-photo.stories.tsx +170 -170
  81. package/src/stories/card-hours/card-hours.stories.tsx +102 -102
  82. package/src/stories/card-scheduled-journey/card-scheduled-journey.stories.tsx +101 -101
  83. package/src/stories/header-profile/header-profile.stories.tsx +84 -84
  84. package/src/stories/input/input.stories.tsx +286 -286
  85. package/src/stories/menu-item/menu-item.stories.tsx +76 -0
  86. package/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.tsx +74 -74
  87. package/src/stories/select-option/select-option.stories.tsx +46 -46
  88. package/src/stories/step-indicator/step-indicator.stories.tsx +116 -116
  89. package/src/stories/typography/typography.stories.tsx +146 -146
  90. package/src/stories/user-profile/user-profile.stories.tsx +56 -0
  91. package/src/styles/global/interface.d.ts +131 -131
  92. package/src/styles/global/styles.ts +63 -63
  93. package/src/styles/global/theme-provider.tsx +10 -10
  94. package/src/styles/theme/theme.ts +158 -156
  95. package/src/utils/format-data/index.ts +14 -14
  96. package/src/utils/mutiply/index.ts +3 -3
@@ -1,164 +1,164 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { View, Text } from "react-native";
6
-
7
- import { getIconKeyByValue } from "./helpers/get-icon-by-status";
8
-
9
- // typings
10
- import { IStepIndicator } from "./interface";
11
-
12
- // styles
13
- import { styles } from "./styles";
14
- import { Icons } from "../../common/icons-svg";
15
-
16
- /**
17
- * Componente StepIndicator para a interação da ui.
18
- */
19
-
20
- const StepIndicator: React.FC<IStepIndicator> = ({
21
- data = [],
22
- type,
23
- backgroundColorBall,
24
- textColorDescription,
25
- titleColor,
26
- titleNumberColor,
27
- }) => {
28
- const StepDefault = () => {
29
- return (
30
- <>
31
- {data!.length > 0 &&
32
- data!.map((history, index) => (
33
- <View testID="step-indicator" style={styles({}).containerIndicator} key={history.id}>
34
- <View style={styles({ backgroundColorBall }).containerBall}>
35
- {data!?.length > 1 && index < data!?.length - 1 && (
36
- <View
37
- style={{
38
- width: 2,
39
- height: 84,
40
- marginTop: 116,
41
- position: "relative",
42
- backgroundColor: "#050022",
43
- }}
44
- />
45
- )}
46
- <Text style={styles({ titleNumberColor }).titleNumber}>
47
- {data!?.length - index}
48
- </Text>
49
- </View>
50
-
51
- <View style={styles({}).containerMain}>
52
- <Text style={styles({ titleColor }).title}>{history?.titleLabel}</Text>
53
-
54
- {history?.data_inicio && (
55
- <Text style={styles({ textColorDescription }).titleDescription}>
56
- {`Inicio: ${history.data_inicio} ás ${history.data_fim}`}
57
- </Text>
58
- )}
59
-
60
- {history.description && (
61
- <Text style={styles({ textColorDescription }).titleDescription}>
62
- Duração: {history?.description}
63
- </Text>
64
- )}
65
- </View>
66
- </View>
67
- ))}
68
- </>
69
- );
70
- };
71
-
72
- const StepCustom = () => {
73
- return (
74
- <View
75
- style={{
76
- width: "100%",
77
- height: 84,
78
- paddingHorizontal: 24,
79
- display: "flex",
80
- flexDirection: "row",
81
- }}
82
- >
83
- {data.map((step, indexCustom) => {
84
- const titleLabel = getIconKeyByValue(step.titleLabel);
85
-
86
- return (
87
- <>
88
- <View
89
- key={String(Math.random() * 10)}
90
- style={{
91
- width: 45,
92
- height: 45,
93
- backgroundColor: indexCustom <= 3 ? "orange" : "transparent",
94
- borderRadius: 50,
95
- alignItems: "center",
96
- justifyContent: "center",
97
- borderWidth: 1,
98
- borderColor: "#fff",
99
- }}
100
- >
101
- <View
102
- style={{
103
- width: 45,
104
- height: 45,
105
- backgroundColor: "transparent",
106
- borderRadius: 50,
107
- alignItems: "center",
108
- justifyContent: "center",
109
- }}
110
- >
111
- {titleLabel && <Icons icon={titleLabel} />}
112
- </View>
113
- <Text
114
- style={{
115
- position: "absolute",
116
- top: 56,
117
- fontWeight: "600",
118
- fontSize: 10,
119
- lineHeight: 14,
120
- textAlign: "center",
121
- color: "#fff",
122
- }}
123
- >
124
- {step.titleLabel}
125
- </Text>
126
- </View>
127
-
128
- {data!?.length > 1 && indexCustom < data!?.length - 1 && (
129
- <View
130
- key={indexCustom}
131
- style={{
132
- width: 90,
133
- height: 2,
134
- marginTop: 24,
135
- position: "relative",
136
- backgroundColor: "orange",
137
- }}
138
- />
139
- )}
140
- </>
141
- );
142
- })}
143
- </View>
144
- );
145
- };
146
-
147
- const handleRenderComponent = (stepType: "default" | "custom") => {
148
- switch (stepType) {
149
- case "default":
150
- return <StepDefault />;
151
- case "custom":
152
- return <StepCustom />;
153
- default:
154
- return <View />;
155
- }
156
- };
157
-
158
- return <>{handleRenderComponent(type!)}</>;
159
- };
160
-
161
- /**
162
- * EXPORTS
163
- */
164
- export { StepIndicator };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { View, Text } from "react-native";
6
+
7
+ import { getIconKeyByValue } from "./helpers/get-icon-by-status";
8
+
9
+ // typings
10
+ import { IStepIndicator } from "./interface";
11
+
12
+ // styles
13
+ import { styles } from "./styles";
14
+ import { Icons } from "../../common/icons-svg";
15
+
16
+ /**
17
+ * Componente StepIndicator para a interação da ui.
18
+ */
19
+
20
+ const StepIndicator: React.FC<IStepIndicator> = ({
21
+ data = [],
22
+ type,
23
+ backgroundColorBall,
24
+ textColorDescription,
25
+ titleColor,
26
+ titleNumberColor,
27
+ }) => {
28
+ const StepDefault = () => {
29
+ return (
30
+ <>
31
+ {data!.length > 0 &&
32
+ data!.map((history, index) => (
33
+ <View testID="step-indicator" style={styles({}).containerIndicator} key={history.id}>
34
+ <View style={styles({ backgroundColorBall }).containerBall}>
35
+ {data!?.length > 1 && index < data!?.length - 1 && (
36
+ <View
37
+ style={{
38
+ width: 2,
39
+ height: 84,
40
+ marginTop: 116,
41
+ position: "relative",
42
+ backgroundColor: "#050022",
43
+ }}
44
+ />
45
+ )}
46
+ <Text style={styles({ titleNumberColor }).titleNumber}>
47
+ {data!?.length - index}
48
+ </Text>
49
+ </View>
50
+
51
+ <View style={styles({}).containerMain}>
52
+ <Text style={styles({ titleColor }).title}>{history?.titleLabel}</Text>
53
+
54
+ {history?.data_inicio && (
55
+ <Text style={styles({ textColorDescription }).titleDescription}>
56
+ {`Inicio: ${history.data_inicio} ás ${history.data_fim}`}
57
+ </Text>
58
+ )}
59
+
60
+ {history.description && (
61
+ <Text style={styles({ textColorDescription }).titleDescription}>
62
+ Duração: {history?.description}
63
+ </Text>
64
+ )}
65
+ </View>
66
+ </View>
67
+ ))}
68
+ </>
69
+ );
70
+ };
71
+
72
+ const StepCustom = () => {
73
+ return (
74
+ <View
75
+ style={{
76
+ width: "100%",
77
+ height: 84,
78
+ paddingHorizontal: 24,
79
+ display: "flex",
80
+ flexDirection: "row",
81
+ }}
82
+ >
83
+ {data.map((step, indexCustom) => {
84
+ const titleLabel = getIconKeyByValue(step.titleLabel);
85
+
86
+ return (
87
+ <>
88
+ <View
89
+ key={String(Math.random() * 10)}
90
+ style={{
91
+ width: 45,
92
+ height: 45,
93
+ backgroundColor: indexCustom <= 3 ? "orange" : "transparent",
94
+ borderRadius: 50,
95
+ alignItems: "center",
96
+ justifyContent: "center",
97
+ borderWidth: 1,
98
+ borderColor: "#fff",
99
+ }}
100
+ >
101
+ <View
102
+ style={{
103
+ width: 45,
104
+ height: 45,
105
+ backgroundColor: "transparent",
106
+ borderRadius: 50,
107
+ alignItems: "center",
108
+ justifyContent: "center",
109
+ }}
110
+ >
111
+ {titleLabel && <Icons icon={titleLabel} />}
112
+ </View>
113
+ <Text
114
+ style={{
115
+ position: "absolute",
116
+ top: 56,
117
+ fontWeight: "600",
118
+ fontSize: 10,
119
+ lineHeight: 14,
120
+ textAlign: "center",
121
+ color: "#fff",
122
+ }}
123
+ >
124
+ {step.titleLabel}
125
+ </Text>
126
+ </View>
127
+
128
+ {data!?.length > 1 && indexCustom < data!?.length - 1 && (
129
+ <View
130
+ key={indexCustom}
131
+ style={{
132
+ width: 90,
133
+ height: 2,
134
+ marginTop: 24,
135
+ position: "relative",
136
+ backgroundColor: "orange",
137
+ }}
138
+ />
139
+ )}
140
+ </>
141
+ );
142
+ })}
143
+ </View>
144
+ );
145
+ };
146
+
147
+ const handleRenderComponent = (stepType: "default" | "custom") => {
148
+ switch (stepType) {
149
+ case "default":
150
+ return <StepDefault />;
151
+ case "custom":
152
+ return <StepCustom />;
153
+ default:
154
+ return <View />;
155
+ }
156
+ };
157
+
158
+ return <>{handleRenderComponent(type!)}</>;
159
+ };
160
+
161
+ /**
162
+ * EXPORTS
163
+ */
164
+ export { StepIndicator };
@@ -1,34 +1,34 @@
1
- /**
2
- * IMPORTS
3
- */
4
-
5
- type IData = {
6
- id: number;
7
- titleLabel: string;
8
- data_inicio: string;
9
- data_fim: string;
10
- description: string;
11
- };
12
- interface IStepIndicator {
13
- /**dados que vão ser renderizados */
14
- data?: IData[];
15
-
16
- /**tupo de renderização padrão ou customizada */
17
- type?: "default" | "custom";
18
-
19
- /**tamanho do step indicator */
20
- backgroundColorBall?: string;
21
-
22
- /**cor do texto */
23
- titleColor?: string;
24
-
25
- /**cor do numero do step indicator */
26
- titleNumberColor?: string;
27
-
28
- /**cor do texto da descrição */
29
- textColorDescription?: string;
30
- }
31
- /**
32
- * EXPORTS
33
- */
34
- export { type IStepIndicator };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+
5
+ type IData = {
6
+ id: number;
7
+ titleLabel: string;
8
+ data_inicio: string;
9
+ data_fim: string;
10
+ description: string;
11
+ };
12
+ interface IStepIndicator {
13
+ /**dados que vão ser renderizados */
14
+ data?: IData[];
15
+
16
+ /**tupo de renderização padrão ou customizada */
17
+ type?: "default" | "custom";
18
+
19
+ /**tamanho do step indicator */
20
+ backgroundColorBall?: string;
21
+
22
+ /**cor do texto */
23
+ titleColor?: string;
24
+
25
+ /**cor do numero do step indicator */
26
+ titleNumberColor?: string;
27
+
28
+ /**cor do texto da descrição */
29
+ textColorDescription?: string;
30
+ }
31
+ /**
32
+ * EXPORTS
33
+ */
34
+ export { type IStepIndicator };
@@ -1,67 +1,67 @@
1
- /**
2
- * IMPORTS
3
- */
4
-
5
- import { StyleSheet } from "react-native";
6
-
7
- // typings
8
- import { IStepIndicator } from "./interface";
9
-
10
- // styles
11
- import { theme } from "../../styles/theme/theme";
12
-
13
- const styles = (props: IStepIndicator) =>
14
- StyleSheet.create({
15
- containerIndicator: {
16
- width: "100%",
17
- height: 86,
18
- flexDirection: "row",
19
- justifyContent: "flex-start",
20
- // backgroundColor: theme.colors.gray[300],
21
- },
22
- containerBall: {
23
- width: 32,
24
- height: 32,
25
- backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],
26
- flexDirection: "row",
27
- alignItems: "center",
28
- justifyContent: "center",
29
- borderRadius: 16,
30
- },
31
- title: {
32
- color: props.titleColor ?? "black",
33
- textAlign: "center",
34
- lineHeight: 24,
35
- fontSize: theme.fontSizes["sm"],
36
- fontWeight: "500",
37
- marginLeft: 8,
38
- },
39
- titleNumber: {
40
- color: props.titleNumberColor ?? theme.colors.neutral[25],
41
- textAlign: "center",
42
- lineHeight: 18,
43
- fontFamily: theme.fonts.inter_regular_400,
44
- fontSize: theme.fontSizes["xs"],
45
- position: "absolute",
46
- },
47
- titleDescription: {
48
- color: props.textColorDescription ?? theme.colors.gray[700],
49
- textAlign: "center",
50
- lineHeight: 16,
51
- fontSize: 12,
52
- fontFamily: theme.fonts.inter_light_300,
53
- marginLeft: 8,
54
- },
55
- containerMain: {
56
- width: "100%",
57
- height: 56,
58
- flexDirection: "column",
59
- alignItems: "flex-start",
60
- marginLeft: 2,
61
- },
62
- });
63
-
64
- /**
65
- * EXPORTS
66
- */
67
- export { styles };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+
5
+ import { StyleSheet } from "react-native";
6
+
7
+ // typings
8
+ import { IStepIndicator } from "./interface";
9
+
10
+ // styles
11
+ import { theme } from "../../styles/theme/theme";
12
+
13
+ const styles = (props: IStepIndicator) =>
14
+ StyleSheet.create({
15
+ containerIndicator: {
16
+ width: "100%",
17
+ height: 86,
18
+ flexDirection: "row",
19
+ justifyContent: "flex-start",
20
+ // backgroundColor: theme.colors.gray[300],
21
+ },
22
+ containerBall: {
23
+ width: 32,
24
+ height: 32,
25
+ backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],
26
+ flexDirection: "row",
27
+ alignItems: "center",
28
+ justifyContent: "center",
29
+ borderRadius: 16,
30
+ },
31
+ title: {
32
+ color: props.titleColor ?? "black",
33
+ textAlign: "center",
34
+ lineHeight: 24,
35
+ fontSize: theme.fontSizes["sm"],
36
+ fontWeight: "500",
37
+ marginLeft: 8,
38
+ },
39
+ titleNumber: {
40
+ color: props.titleNumberColor ?? theme.colors.neutral[25],
41
+ textAlign: "center",
42
+ lineHeight: 18,
43
+ fontFamily: theme.fonts.inter_regular_400,
44
+ fontSize: theme.fontSizes["xs"],
45
+ position: "absolute",
46
+ },
47
+ titleDescription: {
48
+ color: props.textColorDescription ?? theme.colors.gray[700],
49
+ textAlign: "center",
50
+ lineHeight: 16,
51
+ fontSize: 12,
52
+ fontFamily: theme.fonts.inter_light_300,
53
+ marginLeft: 8,
54
+ },
55
+ containerMain: {
56
+ width: "100%",
57
+ height: 56,
58
+ flexDirection: "column",
59
+ alignItems: "flex-start",
60
+ marginLeft: 2,
61
+ },
62
+ });
63
+
64
+ /**
65
+ * EXPORTS
66
+ */
67
+ export { styles };
@@ -1,67 +1,67 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { Text } from "react-native";
6
-
7
- // typings
8
- import { ITextInterface } from "./interface";
9
-
10
- //styles
11
- import { styles } from "./styles";
12
-
13
- /**
14
- * Componente Typography para a interação da ui.
15
- */
16
- const Typography: React.FC<ITextInterface> = ({
17
- text = "Hello Dev",
18
- color = "#1E1E1E",
19
- size = 23,
20
- lineHeight = 24,
21
- align = "left",
22
- textDecoration,
23
- fontWeight = "300",
24
- fontFamily,
25
- margin,
26
- marginLeft,
27
- marginRight,
28
- marginTop,
29
- marginBottom,
30
- padding,
31
- paddingLeft,
32
- paddingRight,
33
- paddingTop,
34
- paddingBottom,
35
- numberOfLines,
36
- ellipsizeMode,
37
- }) => {
38
- const data = {
39
- color,
40
- size,
41
- lineHeight,
42
- align,
43
- textDecoration,
44
- fontWeight,
45
- fontFamily,
46
- margin,
47
- marginLeft,
48
- marginRight,
49
- marginTop,
50
- marginBottom,
51
- padding,
52
- paddingLeft,
53
- paddingRight,
54
- paddingTop,
55
- paddingBottom,
56
- } as ITextInterface;
57
- return (
58
- <Text numberOfLines={numberOfLines} ellipsizeMode={ellipsizeMode} style={styles(data).text}>
59
- {text}
60
- </Text>
61
- );
62
- };
63
-
64
- /**
65
- * EXPORT
66
- */
67
- export { Typography };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { Text } from "react-native";
6
+
7
+ // typings
8
+ import { ITextInterface } from "./interface";
9
+
10
+ //styles
11
+ import { styles } from "./styles";
12
+
13
+ /**
14
+ * Componente Typography para a interação da ui.
15
+ */
16
+ const Typography: React.FC<ITextInterface> = ({
17
+ text = "Hello Dev",
18
+ color = "#1E1E1E",
19
+ size = 23,
20
+ lineHeight = 24,
21
+ align = "left",
22
+ textDecoration,
23
+ fontWeight = "300",
24
+ fontFamily,
25
+ margin,
26
+ marginLeft,
27
+ marginRight,
28
+ marginTop,
29
+ marginBottom,
30
+ padding,
31
+ paddingLeft,
32
+ paddingRight,
33
+ paddingTop,
34
+ paddingBottom,
35
+ numberOfLines,
36
+ ellipsizeMode,
37
+ }) => {
38
+ const data = {
39
+ color,
40
+ size,
41
+ lineHeight,
42
+ align,
43
+ textDecoration,
44
+ fontWeight,
45
+ fontFamily,
46
+ margin,
47
+ marginLeft,
48
+ marginRight,
49
+ marginTop,
50
+ marginBottom,
51
+ padding,
52
+ paddingLeft,
53
+ paddingRight,
54
+ paddingTop,
55
+ paddingBottom,
56
+ } as ITextInterface;
57
+ return (
58
+ <Text numberOfLines={numberOfLines} ellipsizeMode={ellipsizeMode} style={styles(data).text}>
59
+ {text}
60
+ </Text>
61
+ );
62
+ };
63
+
64
+ /**
65
+ * EXPORT
66
+ */
67
+ export { Typography };