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

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