ソースを参照

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