Explorar el Código

fix issue of index.js

iou90 hace 5 años
padre
commit
ff83d4571e
Se han modificado 6 ficheros con 7 adiciones y 7 borrados
  1. 2
    2
      README.md
  2. 0
    0
      README_old.md
  3. 2
    1
      demo/package.json
  4. 0
    1
      demo/yarn.lock
  5. 1
    1
      index.js
  6. 2
    2
      package.json

+ 2
- 2
README.md Ver fichero

@@ -1,11 +1,11 @@
1 1
 # react-native-autoheight-webview
2
-An auto height webview for React Native, or even auto width for inline html.
2
+An auto height webview for React Native, even auto width for inline html.
3 3
 
4 4
 ## Versioning
5 5
 
6 6
 `npm install react-native-autoheight-webview --save` (rn >= 0.57)
7 7
 
8
-Read [Readme.old](./Readme.old.md) for earlier version guide.
8
+Read [README_old](./README_old.md) for earlier version guide.
9 9
 
10 10
 ## usage
11 11
 

Readme.old.md → README_old.md Ver fichero


+ 2
- 1
demo/package.json Ver fichero

@@ -9,7 +9,8 @@
9 9
   "dependencies": {
10 10
     "react": "16.6.3",
11 11
     "react-native": "0.58.4",
12
-    "react-native-autoheight-webview": "../"
12
+    "react-native-autoheight-webview": "../",
13
+    "react-native-webview": "^5.2.1"
13 14
   },
14 15
   "devDependencies": {
15 16
     "babel-core": "^7.0.0-bridge.0",

+ 0
- 1
demo/yarn.lock Ver fichero

@@ -4571,7 +4571,6 @@ react-native-autoheight-webview@../:
4571 4571
   dependencies:
4572 4572
     immutable "^3.8.2"
4573 4573
     prop-types "^15.7.2"
4574
-    react-native-webview "^5.2.1"
4575 4574
 
4576 4575
 react-native-webview@^5.2.1:
4577 4576
   version "5.2.1"

+ 1
- 1
index.js Ver fichero

@@ -1,3 +1,3 @@
1
-import AutoHeightWebView from './autoHeightWebView/AutoHeightWebView';
1
+import AutoHeightWebView from './autoHeightWebView/index';
2 2
 
3 3
 export default AutoHeightWebView;

+ 2
- 2
package.json Ver fichero

@@ -1,7 +1,7 @@
1 1
 {
2 2
   "name": "react-native-autoheight-webview",
3
-  "version": "0.11.0",
4
-  "description": "An auto height webview for React Native",
3
+  "version": "1.0.0",
4
+  "description": "An auto height webview for React Native, even auto width for inline html",
5 5
   "main": "autoHeightWebView",
6 6
   "files": [
7 7
     "index.js",