Browse Source

Update webview imports in example:

Jason Safaiyeh 4 years ago
parent
commit
373fe4cbb6
3 changed files with 3 additions and 3 deletions
  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 View File

@@ -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 'webview';
4
+import WebView from 'react-native-webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n

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

@@ -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 'webview';
4
+import WebView from 'react-native-webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n

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

@@ -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 'webview';
4
+import WebView from 'react-native-webview';
5 5
 
6 6
 const HTML = `
7 7
 <!DOCTYPE html>\n