Skip to content

Commit

Permalink
Merge pull request #53 from Naturalclar/chore/addREADMEBadges
Browse files Browse the repository at this point in the history
Add version badge
  • Loading branch information
melihberberolu authored Jan 15, 2020
2 parents 88ffa82 + f282c72 commit 9dbb827
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
![React Native Hooks](reactnativehooks.jpg)

## React Native Hooks

[![Version][version-badge]][package]

React Native APIs turned into React Hooks allowing you to access asynchronous APIs directly in your functional components.

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

<View onLayout={onLayout} style={{width: 200, height: 200, marginTop: 30}} />
```

[version-badge]: https://img.shields.io/npm/v/react-native-hooks.svg?style=flat-square
[package]: https://www.npmjs.com/package/react-native-hooks

0 comments on commit 9dbb827

Please sign in to comment.