소스 검색

fix index.android.js; update version to 0.0.2

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

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

@@ -75,10 +75,10 @@ export default class AutoHeightWebView extends Component {
75 75
 }
76 76
 
77 77
 AutoHeightWebView.propTypes = {
78
+    ...View.propTypes,
78 79
     html: PropTypes.string,
79 80
     onHeightUpdated: PropTypes.func,
80 81
     customScript: PropTypes.string,
81
-    style: View.propTypes.style,
82 82
     // offset rn webview margin
83 83
     heightOffset: PropTypes.number,
84 84
     // baseUrl not work in android 4.3 or below version

+ 1
- 1
package.json 파일 보기

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-autoheightwebview",
3
-  "version": "0.0.1",
3
+  "version": "0.0.2",
4 4
   "description": "An auto height webview for React Native",
5 5
   "main": "autoHeightWebView",
6 6
   "scripts": {