@rownd/react-native 0.1.4 → 0.1.7

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 (32) hide show
  1. package/README.md +14 -0
  2. package/lib/commonjs/components/DefaultContext.js +4 -7
  3. package/lib/commonjs/components/DefaultContext.js.map +1 -1
  4. package/lib/commonjs/components/SignIn.js +5 -5
  5. package/lib/commonjs/components/SignIn.js.map +1 -1
  6. package/lib/commonjs/components/images/CheckmarkFilled.js +40 -0
  7. package/lib/commonjs/components/images/CheckmarkFilled.js.map +1 -0
  8. package/lib/commonjs/components/images/EmailVerifyWaiting.js +100 -0
  9. package/lib/commonjs/components/images/EmailVerifyWaiting.js.map +1 -0
  10. package/lib/commonjs/components/images/PhoneVerifyWaiting.js +91 -0
  11. package/lib/commonjs/components/images/PhoneVerifyWaiting.js.map +1 -0
  12. package/lib/module/components/DefaultContext.js +3 -3
  13. package/lib/module/components/DefaultContext.js.map +1 -1
  14. package/lib/module/components/SignIn.js +3 -3
  15. package/lib/module/components/SignIn.js.map +1 -1
  16. package/lib/module/components/images/CheckmarkFilled.js +27 -0
  17. package/lib/module/components/images/CheckmarkFilled.js.map +1 -0
  18. package/lib/module/components/images/EmailVerifyWaiting.js +87 -0
  19. package/lib/module/components/images/EmailVerifyWaiting.js.map +1 -0
  20. package/lib/module/components/images/PhoneVerifyWaiting.js +78 -0
  21. package/lib/module/components/images/PhoneVerifyWaiting.js.map +1 -0
  22. package/lib/package.json +4 -4
  23. package/lib/typescript/src/components/images/CheckmarkFilled.d.ts +4 -0
  24. package/lib/typescript/src/components/images/EmailVerifyWaiting.d.ts +4 -0
  25. package/lib/typescript/src/components/images/PhoneVerifyWaiting.d.ts +4 -0
  26. package/package.json +4 -4
  27. package/src/components/DefaultContext.tsx +3 -3
  28. package/src/components/SignIn.tsx +3 -3
  29. package/src/components/images/CheckmarkFilled.tsx +30 -0
  30. package/src/components/images/EmailVerifyWaiting.tsx +95 -0
  31. package/src/components/images/PhoneVerifyWaiting.tsx +74 -0
  32. package/ios/ReactNative.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
@@ -0,0 +1,78 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import * as React from 'react';
4
+ import Svg, { Defs, Rect, G, Use, Circle } from 'react-native-svg';
5
+ /* SVGR has dropped some elements not supported by react-native-svg: title, filter */
6
+
7
+ const SvgComponent = props => /*#__PURE__*/React.createElement(Svg, _extends({
8
+ width: "62px",
9
+ height: "100px",
10
+ viewBox: "0 0 62 100" // @ts-ignore
11
+ ,
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
14
+ }, props), /*#__PURE__*/React.createElement(Defs, null, /*#__PURE__*/React.createElement(Rect, {
15
+ id: "path-1",
16
+ x: 0,
17
+ y: 0,
18
+ width: 58,
19
+ height: 96,
20
+ rx: 8
21
+ })), /*#__PURE__*/React.createElement(G, {
22
+ id: "SMS-verify-from-web-stay-on-web-(BR)",
23
+ stroke: "none",
24
+ strokeWidth: 1,
25
+ fill: "none",
26
+ fillRule: "evenodd"
27
+ }, /*#__PURE__*/React.createElement(G, {
28
+ id: "xlg-1312px-16-column-copy-51",
29
+ transform: "translate(-625.000000, -259.000000)"
30
+ }, /*#__PURE__*/React.createElement(G, {
31
+ id: "unverified-phone",
32
+ transform: "translate(627.000000, 261.000000)"
33
+ }, /*#__PURE__*/React.createElement(G, {
34
+ id: "Rectangle"
35
+ }, /*#__PURE__*/React.createElement(Use, {
36
+ fill: "black",
37
+ fillOpacity: 1 // @ts-ignore
38
+ ,
39
+ filter: "url(#filter-2)",
40
+ xlinkHref: "#path-1"
41
+ }), /*#__PURE__*/React.createElement(Use, {
42
+ fill: "#444444",
43
+ fillRule: "evenodd",
44
+ xlinkHref: "#path-1"
45
+ })), /*#__PURE__*/React.createElement(Circle, {
46
+ id: "Oval",
47
+ fill: "#000000",
48
+ cx: 29,
49
+ cy: 89,
50
+ r: 5
51
+ }), /*#__PURE__*/React.createElement(Rect, {
52
+ id: "Rectangle",
53
+ fill: "#FFFFFF",
54
+ x: 5,
55
+ y: 11,
56
+ width: 48,
57
+ height: 71,
58
+ rx: 2
59
+ }), /*#__PURE__*/React.createElement(Rect, {
60
+ id: "Rectangle",
61
+ fillOpacity: 0.4,
62
+ fill: "#D8D8D8",
63
+ x: 10,
64
+ y: 20,
65
+ width: 38,
66
+ height: 5
67
+ }), /*#__PURE__*/React.createElement(Rect, {
68
+ id: "Rectangle-Copy",
69
+ fillOpacity: 0.4,
70
+ fill: "#D8D8D8",
71
+ x: 10,
72
+ y: 31,
73
+ width: 38,
74
+ height: 36
75
+ })))));
76
+
77
+ export default SvgComponent;
78
+ //# sourceMappingURL=PhoneVerifyWaiting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Svg","Defs","Rect","G","Use","Circle","SvgComponent","props"],"sources":["PhoneVerifyWaiting.tsx"],"sourcesContent":["import * as React from 'react';\nimport Svg, { SvgProps, Defs, Rect, G, Use, Circle } from 'react-native-svg';\n/* SVGR has dropped some elements not supported by react-native-svg: title, filter */\n\nconst SvgComponent = (props: SvgProps) => (\n <Svg\n width=\"62px\"\n height=\"100px\"\n viewBox=\"0 0 62 100\"\n // @ts-ignore\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n {...props}\n >\n <Defs>\n <Rect id=\"path-1\" x={0} y={0} width={58} height={96} rx={8} />\n </Defs>\n <G\n id=\"SMS-verify-from-web-stay-on-web-(BR)\"\n stroke=\"none\"\n strokeWidth={1}\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <G\n id=\"xlg-1312px-16-column-copy-51\"\n transform=\"translate(-625.000000, -259.000000)\"\n >\n <G id=\"unverified-phone\" transform=\"translate(627.000000, 261.000000)\">\n <G id=\"Rectangle\">\n <Use\n fill=\"black\"\n fillOpacity={1}\n // @ts-ignore\n filter=\"url(#filter-2)\"\n xlinkHref=\"#path-1\"\n />\n <Use fill=\"#444444\" fillRule=\"evenodd\" xlinkHref=\"#path-1\" />\n </G>\n <Circle id=\"Oval\" fill=\"#000000\" cx={29} cy={89} r={5} />\n <Rect\n id=\"Rectangle\"\n fill=\"#FFFFFF\"\n x={5}\n y={11}\n width={48}\n height={71}\n rx={2}\n />\n <Rect\n id=\"Rectangle\"\n fillOpacity={0.4}\n fill=\"#D8D8D8\"\n x={10}\n y={20}\n width={38}\n height={5}\n />\n <Rect\n id=\"Rectangle-Copy\"\n fillOpacity={0.4}\n fill=\"#D8D8D8\"\n x={10}\n y={31}\n width={38}\n height={36}\n />\n </G>\n </G>\n </G>\n </Svg>\n);\n\nexport default SvgComponent;\n"],"mappings":";;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,GAAP,IAAwBC,IAAxB,EAA8BC,IAA9B,EAAoCC,CAApC,EAAuCC,GAAvC,EAA4CC,MAA5C,QAA0D,kBAA1D;AACA;;AAEA,MAAMC,YAAY,GAAIC,KAAD,iBACnB,oBAAC,GAAD;EACE,KAAK,EAAC,MADR;EAEE,MAAM,EAAC,OAFT;EAGE,OAAO,EAAC,YAHV,CAIE;EAJF;EAKE,KAAK,EAAC,4BALR;EAME,UAAU,EAAC;AANb,GAOMA,KAPN,gBASE,oBAAC,IAAD,qBACE,oBAAC,IAAD;EAAM,EAAE,EAAC,QAAT;EAAkB,CAAC,EAAE,CAArB;EAAwB,CAAC,EAAE,CAA3B;EAA8B,KAAK,EAAE,EAArC;EAAyC,MAAM,EAAE,EAAjD;EAAqD,EAAE,EAAE;AAAzD,EADF,CATF,eAYE,oBAAC,CAAD;EACE,EAAE,EAAC,sCADL;EAEE,MAAM,EAAC,MAFT;EAGE,WAAW,EAAE,CAHf;EAIE,IAAI,EAAC,MAJP;EAKE,QAAQ,EAAC;AALX,gBAOE,oBAAC,CAAD;EACE,EAAE,EAAC,8BADL;EAEE,SAAS,EAAC;AAFZ,gBAIE,oBAAC,CAAD;EAAG,EAAE,EAAC,kBAAN;EAAyB,SAAS,EAAC;AAAnC,gBACE,oBAAC,CAAD;EAAG,EAAE,EAAC;AAAN,gBACE,oBAAC,GAAD;EACE,IAAI,EAAC,OADP;EAEE,WAAW,EAAE,CAFf,CAGE;EAHF;EAIE,MAAM,EAAC,gBAJT;EAKE,SAAS,EAAC;AALZ,EADF,eAQE,oBAAC,GAAD;EAAK,IAAI,EAAC,SAAV;EAAoB,QAAQ,EAAC,SAA7B;EAAuC,SAAS,EAAC;AAAjD,EARF,CADF,eAWE,oBAAC,MAAD;EAAQ,EAAE,EAAC,MAAX;EAAkB,IAAI,EAAC,SAAvB;EAAiC,EAAE,EAAE,EAArC;EAAyC,EAAE,EAAE,EAA7C;EAAiD,CAAC,EAAE;AAApD,EAXF,eAYE,oBAAC,IAAD;EACE,EAAE,EAAC,WADL;EAEE,IAAI,EAAC,SAFP;EAGE,CAAC,EAAE,CAHL;EAIE,CAAC,EAAE,EAJL;EAKE,KAAK,EAAE,EALT;EAME,MAAM,EAAE,EANV;EAOE,EAAE,EAAE;AAPN,EAZF,eAqBE,oBAAC,IAAD;EACE,EAAE,EAAC,WADL;EAEE,WAAW,EAAE,GAFf;EAGE,IAAI,EAAC,SAHP;EAIE,CAAC,EAAE,EAJL;EAKE,CAAC,EAAE,EALL;EAME,KAAK,EAAE,EANT;EAOE,MAAM,EAAE;AAPV,EArBF,eA8BE,oBAAC,IAAD;EACE,EAAE,EAAC,gBADL;EAEE,WAAW,EAAE,GAFf;EAGE,IAAI,EAAC,SAHP;EAIE,CAAC,EAAE,EAJL;EAKE,CAAC,EAAE,EALL;EAME,KAAK,EAAE,EANT;EAOE,MAAM,EAAE;AAPV,EA9BF,CAJF,CAPF,CAZF,CADF;;AAqEA,eAAeD,YAAf"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rownd/react-native",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "Rownd bindings for React Native",
5
5
  "private": false,
6
6
  "main": "lib/commonjs/index",
@@ -78,7 +78,8 @@
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "*",
81
- "react-native": "*"
81
+ "react-native": "*",
82
+ "react-native-mmkv": "*"
82
83
  },
83
84
  "jest": {
84
85
  "preset": "react-native",
@@ -156,11 +157,11 @@
156
157
  "dependencies": {
157
158
  "@expo/vector-icons": "^13.0.0",
158
159
  "@gorhom/bottom-sheet": "^4.3.1",
160
+ "@react-native-clipboard/clipboard": "^1.10.0",
159
161
  "@react-native-picker/picker": "^2.4.1",
160
162
  "date-fns": "^2.28.0",
161
163
  "debounce": "^1.2.1",
162
164
  "eventemitter3": "^4.0.7",
163
- "expo-clipboard": "^3.0.1",
164
165
  "expo-linking": "^3.1.0",
165
166
  "jwt-decode": "^3.1.2",
166
167
  "ky": "^0.30.0",
@@ -168,7 +169,6 @@
168
169
  "phone": "^3.1.20",
169
170
  "react-native-base64": "^0.2.1",
170
171
  "react-native-device-info": "^9.0.2",
171
- "react-native-mmkv": "^2.4.1",
172
172
  "react-native-sha256": "^1.4.7",
173
173
  "react-native-svg": "^12.3.0",
174
174
  "tailwind-rn": "^4.2.0",
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SvgProps } from 'react-native-svg';
3
+ declare const SvgComponent: (props: SvgProps) => JSX.Element;
4
+ export default SvgComponent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SvgProps } from 'react-native-svg';
3
+ declare const SvgComponent: (props: SvgProps) => JSX.Element;
4
+ export default SvgComponent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SvgProps } from 'react-native-svg';
3
+ declare const SvgComponent: (props: SvgProps) => JSX.Element;
4
+ export default SvgComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rownd/react-native",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "Rownd bindings for React Native",
5
5
  "private": false,
6
6
  "main": "lib/commonjs/index",
@@ -78,7 +78,8 @@
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "*",
81
- "react-native": "*"
81
+ "react-native": "*",
82
+ "react-native-mmkv": "*"
82
83
  },
83
84
  "jest": {
84
85
  "preset": "react-native",
@@ -156,11 +157,11 @@
156
157
  "dependencies": {
157
158
  "@expo/vector-icons": "^13.0.0",
158
159
  "@gorhom/bottom-sheet": "^4.3.1",
160
+ "@react-native-clipboard/clipboard": "^1.10.0",
159
161
  "@react-native-picker/picker": "^2.4.1",
160
162
  "date-fns": "^2.28.0",
161
163
  "debounce": "^1.2.1",
162
164
  "eventemitter3": "^4.0.7",
163
- "expo-clipboard": "^3.0.1",
164
165
  "expo-linking": "^3.1.0",
165
166
  "jwt-decode": "^3.1.2",
166
167
  "ky": "^0.30.0",
@@ -168,7 +169,6 @@
168
169
  "phone": "^3.1.20",
169
170
  "react-native-base64": "^0.2.1",
170
171
  "react-native-device-info": "^9.0.2",
171
- "react-native-mmkv": "^2.4.1",
172
172
  "react-native-sha256": "^1.4.7",
173
173
  "react-native-svg": "^12.3.0",
174
174
  "tailwind-rn": "^4.2.0",
@@ -6,7 +6,7 @@ import type { IConfig } from '../utils/config';
6
6
  import { useGlobalContext } from './GlobalContext';
7
7
  import { ActionType } from '../data/actions';
8
8
  import ky from 'ky';
9
- import * as Clipboard from 'expo-clipboard';
9
+ import Clipboard from '@react-native-clipboard/clipboard';
10
10
  import base64 from 'react-native-base64';
11
11
  import { Linking } from 'react-native';
12
12
  import { events, EventType } from '../utils/events';
@@ -71,7 +71,7 @@ export function DefaultContext({ config }: DefaultContextProps) {
71
71
  let authData = null;
72
72
 
73
73
  let authLink =
74
- (await Linking.getInitialURL()) || (await Clipboard.getStringAsync());
74
+ (await Linking.getInitialURL()) || (await Clipboard.getString());
75
75
  if (authLink.includes('rownd.link')) {
76
76
  dispatch({
77
77
  type: ActionType.CHANGE_ROUTE,
@@ -98,7 +98,7 @@ export function DefaultContext({ config }: DefaultContextProps) {
98
98
  }
99
99
 
100
100
  // Clear the clipboard value so we don't leak any creds
101
- await Clipboard.setStringAsync('');
101
+ Clipboard.setString('');
102
102
 
103
103
  dispatch({
104
104
  type: ActionType.LOGIN_SUCCESS,
@@ -33,9 +33,9 @@ import { ActionType } from '../data/actions';
33
33
  import { renderField } from '../utils/form';
34
34
 
35
35
  // Image imports
36
- import ImageEmailVerifyWaiting from '../assets/images/email-verify-waiting.svg';
37
- import ImagePhoneVerifyWaiting from '../assets/images/phone-verify-waiting.svg';
38
- import ImageCheckmarkFilled from '../assets/images/checkmark--filled.svg';
36
+ import ImageEmailVerifyWaiting from './images/EmailVerifyWaiting';
37
+ import ImagePhoneVerifyWaiting from './images/PhoneVerifyWaiting';
38
+ import ImageCheckmarkFilled from './images/CheckmarkFilled';
39
39
 
40
40
  enum LoginStep {
41
41
  INIT = 'init',
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import Svg, { SvgProps, Defs, Path, Polygon, Rect } from 'react-native-svg';
3
+ /* SVGR has dropped some elements not supported by react-native-svg: style */
4
+
5
+ const SvgComponent = (props: SvgProps) => (
6
+ <Svg
7
+ id="icon"
8
+ // @ts-ignore
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ width={32}
11
+ height={32}
12
+ viewBox="0 0 32 32"
13
+ {...props}
14
+ >
15
+ <Defs />
16
+ <Path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z" />
17
+ <Polygon
18
+ id="inner-path"
19
+ points="14 21.591 9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591"
20
+ />
21
+ <Rect
22
+ id="_Transparent_Rectangle_"
23
+ data-name="&lt;Transparent Rectangle&gt;"
24
+ width={32}
25
+ height={32}
26
+ />
27
+ </Svg>
28
+ );
29
+
30
+ export default SvgComponent;
@@ -0,0 +1,95 @@
1
+ import * as React from 'react';
2
+ import Svg, { SvgProps, Defs, Rect, Path, G, Use } from 'react-native-svg';
3
+ /* SVGR has dropped some elements not supported by react-native-svg: title, filter */
4
+
5
+ const SvgComponent = (props: SvgProps) => (
6
+ <Svg
7
+ width="79px"
8
+ height="68px"
9
+ viewBox="0 0 79 68"
10
+ // @ts-ignore
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ xmlnsXlink="http://www.w3.org/1999/xlink"
13
+ {...props}
14
+ >
15
+ <Defs>
16
+ <Rect
17
+ id="path-1"
18
+ x={9.69736842}
19
+ y={6.17105263}
20
+ width={53.7763158}
21
+ height={45.8421053}
22
+ rx={8}
23
+ />
24
+ <Path
25
+ d="M1.49198314,22.8826009 L27.3602885,37.5009111 C33.5004408,40.9707422 41.014234,40.9500831 47.1352131,37.4465401 L72.5558685,22.8961951 C73.0351888,22.6218404 73.6461631,22.7879979 73.9205178,23.2673182 C74.007089,23.4185653 74.0526316,23.5898106 74.0526316,23.7640813 L74.0526316,63 C74.0526316,65.209139 72.2617706,67 70.0526316,67 L4,67 C1.790861,67 2.705415e-16,65.209139 0,63 L0,23.7532056 C8.43762138e-16,23.2009209 0.44771525,22.7532056 1,22.7532056 C1.17240673,22.7532056 1.34188502,22.7977797 1.49198314,22.8826009 Z"
26
+ id="path-3"
27
+ />
28
+ </Defs>
29
+ <G
30
+ id="V2-post--feedback"
31
+ stroke="none"
32
+ strokeWidth={1}
33
+ fill="none"
34
+ fillRule="evenodd"
35
+ >
36
+ <G
37
+ id="xlg-1312px-16-column-copy-96"
38
+ transform="translate(-616.000000, -265.000000)"
39
+ >
40
+ <G id="Group" transform="translate(618.000000, 265.000000)">
41
+ <Path
42
+ d="M1.1333848,21.7417845 L33.0948714,2.49908682 C35.6464021,0.96291506 38.8400625,0.97130271 41.383489,2.52085558 L72.9358668,21.743773 C73.4075139,22.0311185 73.5569199,22.6464036 73.2695744,23.1180507 C73.2235298,23.1936281 73.1676563,23.2627588 73.1034181,23.3236315 L37.2457723,57.3026316 L37.2457723,57.3026316 L0.965647178,23.3284209 C0.562522036,22.9509179 0.54175124,22.3180937 0.919254307,21.9149685 C0.982302388,21.8476412 1.0543624,21.7893607 1.1333848,21.7417845 Z"
43
+ id="Path-28"
44
+ fill="#545454"
45
+ />
46
+ <G id="Rectangle">
47
+ <Use
48
+ fill="black"
49
+ fillOpacity={1}
50
+ // @ts-ignore
51
+ filter="url(#filter-2)"
52
+ xlinkHref="#path-1"
53
+ />
54
+ <Use fill="#FFFFFF" fillRule="evenodd" xlinkHref="#path-1" />
55
+ </G>
56
+ <Rect
57
+ id="Rectangle"
58
+ fillOpacity={0.4}
59
+ fill="#D8D8D8"
60
+ x={18.5131579}
61
+ y={19.3947368}
62
+ width={36.1447368}
63
+ height={3.52631579}
64
+ />
65
+ <Rect
66
+ id="Rectangle-Copy"
67
+ fillOpacity={0.4}
68
+ fill="#D8D8D8"
69
+ x={18.5131579}
70
+ y={27.3289474}
71
+ width={36.1447368}
72
+ height={26.4473684}
73
+ />
74
+ <G id="Rectangle">
75
+ <Use
76
+ fill="black"
77
+ fillOpacity={1}
78
+ // @ts-ignore
79
+ filter="url(#filter-4)"
80
+ xlinkHref="#path-3"
81
+ />
82
+ <Use fill="#646464" fillRule="evenodd" xlinkHref="#path-3" />
83
+ </G>
84
+ <Path
85
+ d="M23.2845382,51.744338 L1.76315789,67 L1.76315789,67 L71.4078947,67 L49.8865144,51.744338 C41.9186006,46.0961966 31.252452,46.0961966 23.2845382,51.744338 Z"
86
+ id="Path-29"
87
+ fill="#545454"
88
+ />
89
+ </G>
90
+ </G>
91
+ </G>
92
+ </Svg>
93
+ );
94
+
95
+ export default SvgComponent;
@@ -0,0 +1,74 @@
1
+ import * as React from 'react';
2
+ import Svg, { SvgProps, Defs, Rect, G, Use, Circle } from 'react-native-svg';
3
+ /* SVGR has dropped some elements not supported by react-native-svg: title, filter */
4
+
5
+ const SvgComponent = (props: SvgProps) => (
6
+ <Svg
7
+ width="62px"
8
+ height="100px"
9
+ viewBox="0 0 62 100"
10
+ // @ts-ignore
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ xmlnsXlink="http://www.w3.org/1999/xlink"
13
+ {...props}
14
+ >
15
+ <Defs>
16
+ <Rect id="path-1" x={0} y={0} width={58} height={96} rx={8} />
17
+ </Defs>
18
+ <G
19
+ id="SMS-verify-from-web-stay-on-web-(BR)"
20
+ stroke="none"
21
+ strokeWidth={1}
22
+ fill="none"
23
+ fillRule="evenodd"
24
+ >
25
+ <G
26
+ id="xlg-1312px-16-column-copy-51"
27
+ transform="translate(-625.000000, -259.000000)"
28
+ >
29
+ <G id="unverified-phone" transform="translate(627.000000, 261.000000)">
30
+ <G id="Rectangle">
31
+ <Use
32
+ fill="black"
33
+ fillOpacity={1}
34
+ // @ts-ignore
35
+ filter="url(#filter-2)"
36
+ xlinkHref="#path-1"
37
+ />
38
+ <Use fill="#444444" fillRule="evenodd" xlinkHref="#path-1" />
39
+ </G>
40
+ <Circle id="Oval" fill="#000000" cx={29} cy={89} r={5} />
41
+ <Rect
42
+ id="Rectangle"
43
+ fill="#FFFFFF"
44
+ x={5}
45
+ y={11}
46
+ width={48}
47
+ height={71}
48
+ rx={2}
49
+ />
50
+ <Rect
51
+ id="Rectangle"
52
+ fillOpacity={0.4}
53
+ fill="#D8D8D8"
54
+ x={10}
55
+ y={20}
56
+ width={38}
57
+ height={5}
58
+ />
59
+ <Rect
60
+ id="Rectangle-Copy"
61
+ fillOpacity={0.4}
62
+ fill="#D8D8D8"
63
+ x={10}
64
+ y={31}
65
+ width={38}
66
+ height={36}
67
+ />
68
+ </G>
69
+ </G>
70
+ </G>
71
+ </Svg>
72
+ );
73
+
74
+ export default SvgComponent;
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- </Workspace>