Browse Source

fix index.android.js; update version to 0.0.2

iou90 7 years ago
parent
commit
e0cf19231f
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      autoHeightWebView/index.android.js
  2. 1
    1
      package.json

+ 1
- 1
autoHeightWebView/index.android.js View File

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 View File

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": {