Bläddra i källkod

Update example imports

Jason Safaiyeh 4 år sedan
förälder
incheckning
10bedb9bfb
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1
    1
      example/examples/Alerts.tsx
  2. 1
    1
      example/examples/Background.tsx
  3. 1
    1
      example/examples/Scrolling.tsx

+ 1
- 1
example/examples/Alerts.tsx Visa fil

@@ -1,7 +1,7 @@
1 1
 import React, {Component} from 'react';
2 2
 import {Text, View} from 'react-native';
3 3
 
4
-import WebView from 'react-native-webview';
4
+import WebView from '@react-native-community/webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n

+ 1
- 1
example/examples/Background.tsx Visa fil

@@ -1,7 +1,7 @@
1 1
 import React, {Component} from 'react';
2 2
 import {Text, View} from 'react-native';
3 3
 
4
-import WebView from 'react-native-webview';
4
+import WebView from '@react-native-community/webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n

+ 1
- 1
example/examples/Scrolling.tsx Visa fil

@@ -1,7 +1,7 @@
1 1
 import React, {Component} from 'react';
2 2
 import {Button, Text, View} from 'react-native';
3 3
 
4
-import WebView from 'react-native-webview';
4
+import WebView from '@react-native-community/webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n