Browse Source

Update example imports

Jason Safaiyeh 4 years ago
parent
commit
10bedb9bfb

+ 1
- 1
example/examples/Alerts.tsx View File

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 View File

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 View File

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