Browse Source

Update README.md

iou90 5 years ago
parent
commit
bfd41cd3c0
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      README.md

+ 5
- 1
README.md View File

@@ -1,9 +1,13 @@
1 1
 # react-native-autoheight-webview
2 2
 An auto height webview for React Native, even auto width for inline html.
3 3
 
4
+[![NPM Version](http://img.shields.io/npm/v/react-native-autoheight-webview.svg?style=flat-square)](https://www.npmjs.com/package/react-native-autoheight-webview)
5
+[![NPM Downloads](https://img.shields.io/npm/dt/react-native-autoheight-webview.svg?style=flat-square)](https://www.npmjs.com/package/react-native-autoheight-webview)
6
+
4 7
 ## versioning
5 8
 
6 9
 `npm install react-native-autoheight-webview --save` (rn >= 0.59, be capable of Hooks)
10
+
7 11
 `npm install react-native-autoheight-webview@1.0.1 --save` (0.57 <= rn < 0.59)
8 12
 
9 13
 Read [README_old](./README_old.md) for earlier version guide.
@@ -59,4 +63,4 @@ import AutoHeightWebView from 'react-native-autoheight-webview'
59 63
 ![react-native-autoheight-webview Android](https://media.giphy.com/media/9JyX1wZshYIxuPklHK/giphy.gif)
60 64
 
61 65
 ## demo
62
-You may have to use yarn to install the dependencies of the demo and remove demo/node_modules/react-native-autoheight-webview/demo manually, cause of installing a local package with npm will create symlink, but there is no supporting of React Native to symlink (https://github.com/facebook/watchman/issues/105).
66
+You may have to use yarn to install the dependencies of the demo and remove demo/node_modules/react-native-autoheight-webview/demo manually, cause of installing a local package with npm will create symlink, but there is no supporting of React Native to symlink (https://github.com/facebook/watchman/issues/105).