소스 검색

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

adam 5 년 전
부모
커밋
a397309220
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      autoHeightWebView/index.js
  2. 2
    1
      package.json

+ 1
- 1
autoHeightWebView/index.js 파일 보기

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 파일 보기

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"