Skip to content

Commit 94e4d5f

Browse files
authored
update readme with npm dl badge, add notes section
1 parent 953e64e commit 94e4d5f

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# react-google-recaptcha
22

3-
[![Build Status][travis.img]][travis.url]
4-
[![npm version][npm.img]][npm.url]
5-
[![Dependencies][deps.img]][deps.url]
6-
[![Dev Dependencies][devdeps.img]][devdeps.url]
3+
[![Build Status][travis.img]][travis.url] [![npm version][npm.img]][npm.url] [![npm downloads][npm.dl.img]][npm.dl.url] [![Dependencies][deps.img]][deps.url]
74

85
Component wrapper for [Google reCAPTCHA v2][reCAPTCHA]
96

@@ -13,18 +10,6 @@ Component wrapper for [Google reCAPTCHA v2][reCAPTCHA]
1310
npm install --save react-google-recaptcha
1411
```
1512

16-
### React < 15.5
17-
With version prior to 15.5
18-
```shell
19-
npm install --save [email protected]
20-
```
21-
22-
### React 0.13
23-
With 0.13, install version 0.4.1
24-
```shell
25-
npm install --save [email protected]
26-
```
27-
2813
## Usage
2914

3015
All you need to do is [sign up for an API key pair][signup]. You will need the client key.
@@ -150,14 +135,28 @@ render(
150135
);
151136
```
152137

138+
## Notes
139+
140+
### React < 15.5
141+
With version prior to 15.5
142+
```shell
143+
npm install --save [email protected]
144+
```
145+
146+
### React 0.13
147+
With 0.13, install version 0.4.1
148+
```shell
149+
npm install --save [email protected]
150+
```
151+
153152
[travis.img]: https://travis-ci.org/dozoisch/react-google-recaptcha.svg?branch=master
154153
[travis.url]: https://travis-ci.org/dozoisch/react-google-recaptcha
155154
[npm.img]: https://badge.fury.io/js/react-google-recaptcha.svg
156155
[npm.url]: http://badge.fury.io/js/react-google-recaptcha
156+
[npm.dl.img]: https://img.shields.io/npm/dm/react-google-recaptcha.svg
157+
[npm.dl.url]: https://www.npmjs.com/package/react-google-recaptcha
157158
[deps.img]: https://david-dm.org/dozoisch/react-google-recaptcha.svg
158159
[deps.url]: https://david-dm.org/dozoisch/react-google-recaptcha
159-
[devdeps.img]: https://david-dm.org/dozoisch/react-google-recaptcha/dev-status.svg
160-
[devdeps.url]: https://david-dm.org/dozoisch/react-google-recaptcha#info=devDependencies
161160

162161
[reCAPTCHA]: https://www.google.com/recaptcha
163162
[signup]: http://www.google.com/recaptcha/admin

0 commit comments

Comments
 (0)