浏览代码

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

adam 4 年前
父节点
当前提交
a397309220
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1
    1
      autoHeightWebView/index.js
  2. 2
    1
      package.json

+ 1
- 1
autoHeightWebView/index.js 查看文件

@@ -4,7 +4,7 @@ import { Platform, ViewPropTypes, View } from 'react-native';
4 4
 
5 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 9
 import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
10 10
 

+ 2
- 1
package.json 查看文件

@@ -31,7 +31,8 @@
31 31
   "peerDependencies": {
32 32
     "react": "*",
33 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 37
   "dependencies": {
37 38
     "prop-types": "^15.7.2"