1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` convert config should support options 0 1` ] = `
4
- "import React from 'react'
4
+ "import * as React from 'react'
5
5
6
6
function SvgComponent(props) {
7
7
return (
@@ -24,7 +24,7 @@ export default SvgComponent
24
24
` ;
25
25
26
26
exports [` convert config should support options 1 1` ] = `
27
- "import React from 'react'
27
+ "import * as React from 'react'
28
28
29
29
function SvgComponent() {
30
30
return (
@@ -47,7 +47,7 @@ export default SvgComponent
47
47
` ;
48
48
49
49
exports [` convert config should support options 2 1` ] = `
50
- "import React from 'react'
50
+ "import * as React from 'react'
51
51
52
52
function SvgComponent(props) {
53
53
return (
@@ -70,7 +70,7 @@ export default SvgComponent
70
70
` ;
71
71
72
72
exports [` convert config should support options 3 1` ] = `
73
- "import React from 'react'
73
+ "import * as React from 'react'
74
74
75
75
function SvgComponent(props) {
76
76
return (
@@ -93,7 +93,7 @@ export default SvgComponent
93
93
` ;
94
94
95
95
exports [` convert config should support options 4 1` ] = `
96
- "import React from 'react'
96
+ "import * as React from 'react'
97
97
import Svg, { G , Path } from 'react-native-svg'
98
98
99
99
function SvgComponent(props) {
@@ -117,7 +117,7 @@ export default SvgComponent
117
117
` ;
118
118
119
119
exports [` convert config should support options 5 1` ] = `
120
- "import React from 'react'
120
+ "import * as React from 'react'
121
121
import { Svg } from 'expo'
122
122
123
123
function SvgComponent(props) {
@@ -141,7 +141,7 @@ export default SvgComponent
141
141
` ;
142
142
143
143
exports [` convert config should support options 6 1` ] = `
144
- "import React from 'react'
144
+ "import * as React from 'react'
145
145
import Svg, { G , Path } from 'react-native-svg'
146
146
147
147
function SvgComponent(props) {
@@ -165,7 +165,7 @@ export default SvgComponent
165
165
` ;
166
166
167
167
exports [` convert config should support options 7 1` ] = `
168
- "import React from 'react'
168
+ "import * as React from 'react'
169
169
import Svg, { G , Path } from 'react-native-svg'
170
170
171
171
function SvgComponent() {
@@ -189,7 +189,7 @@ export default SvgComponent
189
189
` ;
190
190
191
191
exports [` convert config should support options 8 1` ] = `
192
- "import React from 'react'
192
+ "import * as React from 'react'
193
193
import Svg, { G , Path } from 'react-native-svg'
194
194
195
195
function SvgComponent({ svgRef , ... props } ) {
@@ -216,7 +216,7 @@ export default ForwardRef
216
216
` ;
217
217
218
218
exports [` convert config should support options 9 1` ] = `
219
- "import React from 'react'
219
+ "import * as React from 'react'
220
220
221
221
function SvgComponent({ svgRef , ... props } ) {
222
222
return (
@@ -242,7 +242,7 @@ export default ForwardRef
242
242
` ;
243
243
244
244
exports [` convert config should support options 10 1` ] = `
245
- "import React from 'react'
245
+ "import * as React from 'react'
246
246
247
247
function SvgComponent(props) {
248
248
return (
@@ -265,7 +265,7 @@ export default SvgComponent
265
265
` ;
266
266
267
267
exports [` convert config should support options 11 1` ] = `
268
- "import React from 'react'
268
+ "import * as React from 'react'
269
269
270
270
function SvgComponent(props) {
271
271
return (
@@ -288,7 +288,7 @@ export default SvgComponent
288
288
` ;
289
289
290
290
exports [` convert config should support options 12 1` ] = `
291
- "import React from 'react'
291
+ "import * as React from 'react'
292
292
293
293
function SvgComponent(props) {
294
294
return (
@@ -311,7 +311,7 @@ export default SvgComponent
311
311
` ;
312
312
313
313
exports [` convert config should support options 13 1` ] = `
314
- "import React from 'react'
314
+ "import * as React from 'react'
315
315
316
316
function SvgComponent(props) {
317
317
return (
@@ -341,7 +341,7 @@ export default SvgComponent
341
341
` ;
342
342
343
343
exports [` convert config should support options 14 1` ] = `
344
- "import React from \\ "react\\ ";
344
+ "import * as React from \\ "react\\ ";
345
345
346
346
function SvgComponent(props) {
347
347
return <svg width = { 88 } height = { 88 } { ... props } ><g stroke =\\"#063855\\" strokeWidth = { 2 } fill =\\"none\\" fillRule =\\"evenodd\\" strokeLinecap =\\"square\\"><path d =\\"M51 37L37 51M51 51L37 37\\" /></g >< / svg > ;
@@ -358,7 +358,7 @@ export default noop
358
358
` ;
359
359
360
360
exports [` convert config should support options 16 1` ] = `
361
- "import React from 'react'
361
+ "import * as React from 'react'
362
362
363
363
function SvgComponent({ title , titleId , ... props } ) {
364
364
return (
@@ -382,7 +382,7 @@ export default SvgComponent
382
382
` ;
383
383
384
384
exports [` convert config should support options 17 1` ] = `
385
- "import React from 'react'
385
+ "import * as React from 'react'
386
386
387
387
function SvgComponent(props) {
388
388
return (
@@ -406,7 +406,7 @@ export default MemoSvgComponent
406
406
` ;
407
407
408
408
exports [` convert config titleProp: without title added 1` ] = `
409
- "import React from 'react'
409
+ "import * as React from 'react'
410
410
411
411
function SvgComponent({ title , titleId , ... props } ) {
412
412
return (
@@ -430,7 +430,7 @@ export default SvgComponent
430
430
` ;
431
431
432
432
exports [` convert should convert 1` ] = `
433
- "import React from 'react'
433
+ "import * as React from 'react'
434
434
435
435
function SvgComponent(props) {
436
436
return (
@@ -453,7 +453,7 @@ export default SvgComponent
453
453
` ;
454
454
455
455
exports [` convert should convert style attribute 1` ] = `
456
- "import React from 'react'
456
+ "import * as React from 'react'
457
457
458
458
function SvgComponent(props) {
459
459
return (
@@ -500,7 +500,7 @@ export default SvgComponent
500
500
` ;
501
501
502
502
exports [` convert should handle special SVG attributes 1` ] = `
503
- "import React from 'react'
503
+ "import * as React from 'react'
504
504
505
505
function SvgComponent(props) {
506
506
return (
@@ -515,7 +515,7 @@ export default SvgComponent
515
515
` ;
516
516
517
517
exports [` convert should not remove all style tags 1` ] = `
518
- "import React from 'react'
518
+ "import * as React from 'react'
519
519
520
520
function SvgComponent(props) {
521
521
return (
@@ -543,7 +543,7 @@ export default SvgComponent
543
543
` ;
544
544
545
545
exports [` convert should remove null characters 1` ] = `
546
- "import React from 'react'
546
+ "import * as React from 'react'
547
547
548
548
function SvgComponent(props) {
549
549
return (
@@ -563,7 +563,7 @@ export default SvgComponent
563
563
` ;
564
564
565
565
exports [` convert should remove style tags 1` ] = `
566
- "import React from 'react'
566
+ "import * as React from 'react'
567
567
568
568
function SvgComponent(props) {
569
569
return (
1 commit comments
vercel[bot] commentedon Feb 23, 2020
Successfully deployed to following URLs: