Jason Safaiyeh 5 лет назад
Родитель
Сommit
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
 import React, {Component} from 'react';
1
 import React, {Component} from 'react';
2
 import {Text, View} from 'react-native';
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
 const HTML = `
6
 const HTML = `
7
 <!DOCTYPE html>\n
7
 <!DOCTYPE html>\n

+ 1
- 1
example/examples/Background.tsx Просмотреть файл

1
 import React, {Component} from 'react';
1
 import React, {Component} from 'react';
2
 import {Text, View} from 'react-native';
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
 const HTML = `
6
 const HTML = `
7
 <!DOCTYPE html>\n
7
 <!DOCTYPE html>\n

+ 1
- 1
example/examples/Scrolling.tsx Просмотреть файл

1
 import React, {Component} from 'react';
1
 import React, {Component} from 'react';
2
 import {Button, Text, View} from 'react-native';
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
 const HTML = `
6
 const HTML = `
7
 <!DOCTYPE html>\n
7
 <!DOCTYPE html>\n