瀏覽代碼

Update example imports

Jason Safaiyeh 4 年之前
父節點
當前提交
10bedb9bfb
共有 3 個文件被更改,包括 3 次插入3 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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