浏览代码

fix index.android.js; update version to 0.0.2

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

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

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

+ 1
- 1
package.json 查看文件

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