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
package/package.json CHANGED
@@ -1,200 +1,200 @@
1
- {
2
- "name": "react-native-exp-fig",
3
- "version": "0.1.0",
4
- "description": "Lib para interfaces",
5
- "source": "./src/index.tsx",
6
- "main": "./lib/commonjs/index.js",
7
- "module": "./lib/module/index.js",
8
- "exports": {
9
- ".": {
10
- "import": {
11
- "types": "./lib/typescript/module/src/index.d.ts",
12
- "default": "./lib/module/index.js"
13
- },
14
- "require": {
15
- "types": "./lib/typescript/commonjs/src/index.d.ts",
16
- "default": "./lib/commonjs/index.js"
17
- }
18
- }
19
- },
20
- "files": [
21
- "src",
22
- "lib",
23
- "android",
24
- "ios",
25
- "cpp",
26
- "*.podspec",
27
- "react-native.config.js",
28
- "!ios/build",
29
- "!android/build",
30
- "!android/gradle",
31
- "!android/gradlew",
32
- "!android/gradlew.bat",
33
- "!android/local.properties",
34
- "!**/__tests__",
35
- "!**/__fixtures__",
36
- "!**/__mocks__",
37
- "!**/.*"
38
- ],
39
- "scripts": {
40
- "example": "yarn workspace react-native-exp-fig-example",
41
- "test": "jest",
42
- "typecheck": "tsc",
43
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
44
- "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
45
- "clean": "del-cli lib",
46
- "prepare:bob": "bob build",
47
- "release": "release-it",
48
- "storybook": "storybook dev -p 6006",
49
- "format": "prettier --write .",
50
- "format:check": "prettier --check .",
51
- "prepare": "husky"
52
- },
53
- "keywords": [
54
- "react-native",
55
- "ios",
56
- "android"
57
- ],
58
- "repository": {
59
- "type": "git",
60
- "url": "git+https://github.com/Weverson-Luan/react-native-exp-fig.git"
61
- },
62
- "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
63
- "license": "MIT",
64
- "bugs": {
65
- "url": "https://github.com/Weverson-Luan/react-native-exp-fig/issues"
66
- },
67
- "homepage": "https://github.com/Weverson-Luan/react-native-exp-fig#readme",
68
- "publishConfig": {
69
- "registry": "https://registry.npmjs.org/"
70
- },
71
- "devDependencies": {
72
- "@babel/core": "^7.26.7",
73
- "@babel/preset-env": "^7.22.20",
74
- "@babel/preset-react": "^7.26.3",
75
- "@commitlint/cli": "^19.7.1",
76
- "@commitlint/config-conventional": "^19.7.1",
77
- "@evilmartians/lefthook": "^1.5.0",
78
- "@react-native/eslint-config": "^0.77.0",
79
- "@release-it/conventional-changelog": "^9.0.2",
80
- "@storybook/addon-actions": "^8.3.5",
81
- "@storybook/addon-controls": "^8.3.5",
82
- "@storybook/addon-essentials": "^8.3.5",
83
- "@storybook/addon-links": "^8.3.5",
84
- "@storybook/addon-ondevice-actions": "8.3.10",
85
- "@storybook/addon-ondevice-backgrounds": "8.3.10",
86
- "@storybook/addon-ondevice-controls": "8.3.10",
87
- "@storybook/addon-ondevice-notes": "8.3.10",
88
- "@storybook/addon-react-native-web": "^0.0.26",
89
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
90
- "@storybook/addons": "^7.6.17",
91
- "@storybook/react": "^8.3.5",
92
- "@storybook/react-native": "^8.5.3",
93
- "@storybook/react-webpack5": "^8.3.5",
94
- "@testing-library/jest-native": "^5.4.3",
95
- "@testing-library/react-native": "^12.3.0",
96
- "@types/jest": "^29.5.5",
97
- "@types/react": "^18.2.44",
98
- "@typescript-eslint/eslint-plugin": "^8.23.0",
99
- "babel-jest": "^29.7.0",
100
- "babel-loader": "^9.1.3",
101
- "babel-plugin-module-resolver": "^5.0.2",
102
- "babel-plugin-react-docgen-typescript": "^1.5.1",
103
- "babel-plugin-react-native-web": "^0.19.12",
104
- "babel-plugin-transform-inline-environment-variables": "^0.4.4",
105
- "commitlint": "^17.0.2",
106
- "del-cli": "^5.1.0",
107
- "eslint": "^9.19.0",
108
- "eslint-config-prettier": "^10.0.1",
109
- "eslint-plugin-jest": "^28.11.0",
110
- "eslint-plugin-prettier": "^5.2.3",
111
- "eslint-plugin-react": "^7.37.4",
112
- "eslint-plugin-storybook": "^0.11.2",
113
- "husky": "^9.1.7",
114
- "jest": "^29.7.0",
115
- "prettier": "^3.4.2",
116
- "react": "18.3.1",
117
- "react-native": "0.76.6",
118
- "react-native-builder-bob": "^0.32.0",
119
- "release-it": "^17.10.0",
120
- "storybook": "^8.3.5"
121
- },
122
- "resolutions": {
123
- "@types/react": "^18.2.44"
124
- },
125
- "peerDependencies": {
126
- "react": "*",
127
- "react-native": "*"
128
- },
129
- "workspaces": [
130
- "example"
131
- ],
132
- "packageManager": "yarn@3.6.1",
133
- "release-it": {
134
- "git": {
135
- "commitMessage": "chore: release ${version}",
136
- "tagName": "v${version}"
137
- },
138
- "npm": {
139
- "publish": true
140
- },
141
- "github": {
142
- "release": true
143
- },
144
- "plugins": {
145
- "@release-it/conventional-changelog": {
146
- "preset": "angular"
147
- }
148
- }
149
- },
150
- "react-native-builder-bob": {
151
- "source": "src",
152
- "output": "lib",
153
- "targets": [
154
- [
155
- "commonjs",
156
- {
157
- "esm": true
158
- }
159
- ],
160
- [
161
- "module",
162
- {
163
- "esm": true
164
- }
165
- ],
166
- [
167
- "typescript",
168
- {
169
- "project": "tsconfig.build.json",
170
- "esm": true
171
- }
172
- ]
173
- ]
174
- },
175
- "create-react-native-library": {
176
- "languages": "js",
177
- "type": "library",
178
- "version": "0.47.0"
179
- },
180
- "dependencies": {
181
- "@react-native-async-storage/async-storage": "^2.0.0",
182
- "@react-native-community/datetimepicker": "^8.2.0",
183
- "@react-native-community/slider": "^4.5.3",
184
- "@storybook/test": "^8.3.0",
185
- "jest-environment-jsdom": "^29.7.0",
186
- "jest-matcher-utils": "^29.7.0",
187
- "react": "18.3.1",
188
- "react-dom": "^18.3.1",
189
- "react-native": "0.75.4",
190
- "react-native-gesture-handler": "^2.19.0",
191
- "react-native-reanimated": "^3.16.7",
192
- "react-native-safe-area-context": "^4.11.0",
193
- "react-native-svg": "^15.6.0",
194
- "react-native-web": "^0.19.12",
195
- "react-test-renderer": "^18.2.0",
196
- "ts-jest": "^29.1.1",
197
- "ts-node": "^10.9.1",
198
- "typescript": "4.8.4"
199
- }
200
- }
1
+ {
2
+ "name": "react-native-exp-fig",
3
+ "version": "0.1.2",
4
+ "description": "Lib para interfaces",
5
+ "source": "./src/index.ts",
6
+ "main": "./src/index.ts",
7
+ "module": "./lib/module/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./lib/typescript/module/src/index.d.ts",
12
+ "default": "./lib/module/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./lib/typescript/commonjs/src/index.d.ts",
16
+ "default": "./lib/commonjs/index.js"
17
+ }
18
+ }
19
+ },
20
+ "files": [
21
+ "src",
22
+ "lib",
23
+ "android",
24
+ "ios",
25
+ "cpp",
26
+ "*.podspec",
27
+ "react-native.config.js",
28
+ "!ios/build",
29
+ "!android/build",
30
+ "!android/gradle",
31
+ "!android/gradlew",
32
+ "!android/gradlew.bat",
33
+ "!android/local.properties",
34
+ "!**/__tests__",
35
+ "!**/__fixtures__",
36
+ "!**/__mocks__",
37
+ "!**/.*"
38
+ ],
39
+ "scripts": {
40
+ "example": "yarn workspace react-native-exp-fig-example",
41
+ "test": "jest",
42
+ "typecheck": "tsc",
43
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
44
+ "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
45
+ "clean": "del-cli lib",
46
+ "prepare:bob": "bob build",
47
+ "release": "release-it",
48
+ "storybook": "storybook dev -p 6006",
49
+ "format": "prettier --write .",
50
+ "format:check": "prettier --check .",
51
+ "prepare": "husky"
52
+ },
53
+ "keywords": [
54
+ "react-native",
55
+ "ios",
56
+ "android"
57
+ ],
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "https://github.com/expfig/expfig-ui"
61
+ },
62
+ "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
63
+ "license": "MIT",
64
+ "bugs": {
65
+ "url": "https://github.com/expfig/expfig-ui/issues"
66
+ },
67
+ "homepage": "https://github.com/expfig/expfig-ui/blob/main/README.md",
68
+ "publishConfig": {
69
+ "registry": "https://registry.npmjs.org/"
70
+ },
71
+ "devDependencies": {
72
+ "@babel/core": "^7.26.7",
73
+ "@babel/preset-env": "^7.22.20",
74
+ "@babel/preset-react": "^7.26.3",
75
+ "@commitlint/cli": "^19.7.1",
76
+ "@commitlint/config-conventional": "^19.7.1",
77
+ "@evilmartians/lefthook": "^1.5.0",
78
+ "@react-native/eslint-config": "^0.77.0",
79
+ "@release-it/conventional-changelog": "^9.0.2",
80
+ "@storybook/addon-actions": "^8.3.5",
81
+ "@storybook/addon-controls": "^8.3.5",
82
+ "@storybook/addon-essentials": "^8.3.5",
83
+ "@storybook/addon-links": "^8.3.5",
84
+ "@storybook/addon-ondevice-actions": "8.3.10",
85
+ "@storybook/addon-ondevice-backgrounds": "8.3.10",
86
+ "@storybook/addon-ondevice-controls": "8.3.10",
87
+ "@storybook/addon-ondevice-notes": "8.3.10",
88
+ "@storybook/addon-react-native-web": "^0.0.26",
89
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
90
+ "@storybook/addons": "^7.6.17",
91
+ "@storybook/react": "^8.3.5",
92
+ "@storybook/react-native": "^8.5.3",
93
+ "@storybook/react-webpack5": "^8.3.5",
94
+ "@testing-library/jest-native": "^5.4.3",
95
+ "@testing-library/react-native": "^12.3.0",
96
+ "@types/jest": "^29.5.5",
97
+ "@types/react": "^18.2.44",
98
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
99
+ "babel-jest": "^29.7.0",
100
+ "babel-loader": "^9.1.3",
101
+ "babel-plugin-module-resolver": "^5.0.2",
102
+ "babel-plugin-react-docgen-typescript": "^1.5.1",
103
+ "babel-plugin-react-native-web": "^0.19.12",
104
+ "babel-plugin-transform-inline-environment-variables": "^0.4.4",
105
+ "commitlint": "^17.0.2",
106
+ "del-cli": "^5.1.0",
107
+ "eslint": "^9.19.0",
108
+ "eslint-config-prettier": "^10.0.1",
109
+ "eslint-plugin-jest": "^28.11.0",
110
+ "eslint-plugin-prettier": "^5.2.3",
111
+ "eslint-plugin-react": "^7.37.4",
112
+ "eslint-plugin-storybook": "^0.11.2",
113
+ "husky": "^9.1.7",
114
+ "jest": "^29.7.0",
115
+ "prettier": "^3.4.2",
116
+ "react": "18.3.1",
117
+ "react-native": "0.76.6",
118
+ "react-native-builder-bob": "^0.32.0",
119
+ "release-it": "^17.10.0",
120
+ "storybook": "^8.3.5"
121
+ },
122
+ "resolutions": {
123
+ "@types/react": "^18.2.44"
124
+ },
125
+ "peerDependencies": {
126
+ "react": "*",
127
+ "react-native": "*"
128
+ },
129
+ "workspaces": [
130
+ "example"
131
+ ],
132
+ "packageManager": "yarn@3.6.1",
133
+ "release-it": {
134
+ "git": {
135
+ "commitMessage": "chore: release ${version}",
136
+ "tagName": "v${version}"
137
+ },
138
+ "npm": {
139
+ "publish": true
140
+ },
141
+ "github": {
142
+ "release": true
143
+ },
144
+ "plugins": {
145
+ "@release-it/conventional-changelog": {
146
+ "preset": "angular"
147
+ }
148
+ }
149
+ },
150
+ "react-native-builder-bob": {
151
+ "source": "src",
152
+ "output": "lib",
153
+ "targets": [
154
+ [
155
+ "commonjs",
156
+ {
157
+ "esm": true
158
+ }
159
+ ],
160
+ [
161
+ "module",
162
+ {
163
+ "esm": true
164
+ }
165
+ ],
166
+ [
167
+ "typescript",
168
+ {
169
+ "project": "tsconfig.build.json",
170
+ "esm": true
171
+ }
172
+ ]
173
+ ]
174
+ },
175
+ "create-react-native-library": {
176
+ "languages": "js",
177
+ "type": "library",
178
+ "version": "0.47.0"
179
+ },
180
+ "dependencies": {
181
+ "@react-native-async-storage/async-storage": "^2.0.0",
182
+ "@react-native-community/datetimepicker": "^8.2.0",
183
+ "@react-native-community/slider": "^4.5.3",
184
+ "@storybook/test": "^8.3.0",
185
+ "jest-environment-jsdom": "^29.7.0",
186
+ "jest-matcher-utils": "^29.7.0",
187
+ "react": "18.3.1",
188
+ "react-dom": "^18.3.1",
189
+ "react-native": "0.75.4",
190
+ "react-native-gesture-handler": "^2.19.0",
191
+ "react-native-reanimated": "^3.16.7",
192
+ "react-native-safe-area-context": "^4.11.0",
193
+ "react-native-svg": "^15.6.0",
194
+ "react-native-web": "^0.19.12",
195
+ "react-test-renderer": "^18.2.0",
196
+ "ts-jest": "^29.1.1",
197
+ "ts-node": "^10.9.1",
198
+ "typescript": "4.8.4"
199
+ }
200
+ }
@@ -0,0 +1,5 @@
1
+ const IMAGES = {
2
+ IMAGE_ANONIMA:
3
+ "https://static.vakinha.com.br/uploads/user/avatar/2251959/download.png?ims=225x225",
4
+ };
5
+ export { IMAGES };
@@ -1,28 +1,28 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
- /**
7
- * typings
8
- */
9
- import { ISvgProps } from "../interface";
10
-
11
- const SvgIconArrowDropDown: React.FC<ISvgProps> = ({ size, color, ...res }) => (
12
- <Svg
13
- // @ts-expect-error
14
- xmlns="http://www.w3.org/2000/svg"
15
- width={size ?? "10"}
16
- height={size ?? "6"}
17
- fill="none"
18
- viewBox="0 0 10 6"
19
- {...res}
20
- >
21
- <Path fill={color ?? "#868686"} d="M5 5.813L0 0h10L5 5.813z"></Path>
22
- </Svg>
23
- );
24
-
25
- /**
26
- * EXPORTS
27
- */
28
- export { SvgIconArrowDropDown };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+ /**
7
+ * typings
8
+ */
9
+ import { ISvgProps } from "../interface";
10
+
11
+ const SvgIconArrowDropDown: React.FC<ISvgProps> = ({ size, color, ...res }) => (
12
+ <Svg
13
+ // @ts-expect-error
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ width={size ?? "10"}
16
+ height={size ?? "6"}
17
+ fill="none"
18
+ viewBox="0 0 10 6"
19
+ {...res}
20
+ >
21
+ <Path fill={color ?? "#868686"} d="M5 5.813L0 0h10L5 5.813z"></Path>
22
+ </Svg>
23
+ );
24
+
25
+ /**
26
+ * EXPORTS
27
+ */
28
+ export { SvgIconArrowDropDown };
@@ -1,32 +1,32 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconArrowLeft: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? 21}
15
- height={size ?? 11}
16
- fill="none"
17
- viewBox="0 0 21 10"
18
- >
19
- <Path
20
- stroke={color ?? "#fff"}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- strokeWidth="2"
24
- d="M5.078 9L1.067 5m0 0l4.01-4m-4.01 4h18.05"
25
- ></Path>
26
- </Svg>
27
- );
28
-
29
- /**
30
- * EXPORTS
31
- */
32
- export { SvgIconArrowLeft };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconArrowLeft: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 21}
15
+ height={size ?? 11}
16
+ fill="none"
17
+ viewBox="0 0 21 10"
18
+ >
19
+ <Path
20
+ stroke={color ?? "#fff"}
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth="2"
24
+ d="M5.078 9L1.067 5m0 0l4.01-4m-4.01 4h18.05"
25
+ ></Path>
26
+ </Svg>
27
+ );
28
+
29
+ /**
30
+ * EXPORTS
31
+ */
32
+ export { SvgIconArrowLeft };
@@ -1,37 +1,37 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
- import { ISvgProps } from "../interface";
7
-
8
- const SvgIconBluetooth: React.FC<ISvgProps> = ({ color, size }) => (
9
- <Svg
10
- // @ts-expect-error
11
- xmlns="http://www.w3.org/2000/svg"
12
- width={size ?? 24}
13
- height={size ?? 24}
14
- fill="none"
15
- viewBox={`0 0 ${size ?? 24} ${size ?? 24}`}
16
- >
17
- <G
18
- stroke={color ?? "#050022"}
19
- strokeLinecap="round"
20
- strokeLinejoin="round"
21
- strokeWidth="2"
22
- clipPath="url(#clip0_9131_659)"
23
- >
24
- <Path d="M12 3l6 4.5-6 4.5V3zM12 12l6 4.5-6 4.5v-9zM6 7.5l6 4.5M6 16.5l6-4.5"></Path>
25
- </G>
26
- <Defs>
27
- <ClipPath id="clip0_9131_659">
28
- <Path fill="#fff" d="M0 0H24V24H0z"></Path>
29
- </ClipPath>
30
- </Defs>
31
- </Svg>
32
- );
33
-
34
- /**
35
- * EXPORTS
36
- */
37
- export { SvgIconBluetooth };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
+ import { ISvgProps } from "../interface";
7
+
8
+ const SvgIconBluetooth: React.FC<ISvgProps> = ({ color, size }) => (
9
+ <Svg
10
+ // @ts-expect-error
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ width={size ?? 24}
13
+ height={size ?? 24}
14
+ fill="none"
15
+ viewBox={`0 0 ${size ?? 24} ${size ?? 24}`}
16
+ >
17
+ <G
18
+ stroke={color ?? "#050022"}
19
+ strokeLinecap="round"
20
+ strokeLinejoin="round"
21
+ strokeWidth="2"
22
+ clipPath="url(#clip0_9131_659)"
23
+ >
24
+ <Path d="M12 3l6 4.5-6 4.5V3zM12 12l6 4.5-6 4.5v-9zM6 7.5l6 4.5M6 16.5l6-4.5"></Path>
25
+ </G>
26
+ <Defs>
27
+ <ClipPath id="clip0_9131_659">
28
+ <Path fill="#fff" d="M0 0H24V24H0z"></Path>
29
+ </ClipPath>
30
+ </Defs>
31
+ </Svg>
32
+ );
33
+
34
+ /**
35
+ * EXPORTS
36
+ */
37
+ export { SvgIconBluetooth };