Browse Source

update:更新react-native-webview的依赖为biling.com的

adam 4 years ago
parent
commit
a397309220
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      autoHeightWebView/index.js
  2. 2
    1
      package.json

+ 1
- 1
autoHeightWebView/index.js View File

4
 
4
 
5
 import PropTypes from 'prop-types';
5
 import PropTypes from 'prop-types';
6
 
6
 
7
-import { WebView } from 'react-native-webview';
7
+import { WebView } from '@bilingo.com/react-native-webview';
8
 
8
 
9
 import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
9
 import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
10
 
10
 

+ 2
- 1
package.json View File

31
   "peerDependencies": {
31
   "peerDependencies": {
32
     "react": "*",
32
     "react": "*",
33
     "react-native": ">= 0.59.0",
33
     "react-native": ">= 0.59.0",
34
-    "react-native-webview": ">= 5.4.0"
34
+    "react-native-webview": ">= 5.4.0",
35
+    "@bilingo.com/react-native-webview": "^1.0.0"
35
   },
36
   },
36
   "dependencies": {
37
   "dependencies": {
37
     "prop-types": "^15.7.2"
38
     "prop-types": "^15.7.2"