Skip to content

Commit 9dbb827

Browse files
Merge pull request #53 from Naturalclar/chore/addREADMEBadges
Add version badge
2 parents 88ffa82 + f282c72 commit 9dbb827

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
![React Native Hooks](reactnativehooks.jpg)
22

33
## React Native Hooks
4+
5+
[![Version][version-badge]][package]
6+
47
React Native APIs turned into React Hooks allowing you to access asynchronous APIs directly in your functional components.
58

69
> Note: You must use React Native >= 0.59.0
@@ -144,3 +147,6 @@ console.log('layout: ', layout)
144147

145148
<View onLayout={onLayout} style={{width: 200, height: 200, marginTop: 30}} />
146149
```
150+
151+
[version-badge]: https://img.shields.io/npm/v/react-native-hooks.svg?style=flat-square
152+
[package]: https://www.npmjs.com/package/react-native-hooks

0 commit comments

Comments
 (0)