Skip to content

Commit 1fba54c

Browse files
authored
Merge pull request #23 from StephenWeiXu/develop
Add badges for repo info
2 parents c557f62 + 468f010 commit 1fba54c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
# react-scrollspy-nav
22

3+
[![npm version](https://img.shields.io/npm/v/react-scrollspy-nav.svg?style=flat-square)](https://www.npmjs.com/package/react-scrollspy-nav)
4+
[![travis](https://travis-ci.com/StephenWeiXu/react-scrollspy-nav.svg?branch=master)](https://travis-ci.com/github/StephenWeiXu/react-scrollspy-nav)
5+
[![dependencies](http://img.shields.io/david/StephenWeiXu/react-scrollspy-nav.svg?style=flat-square)](https://github.com/StephenWeiXu/react-scrollspy-nav)
6+
[![DevDependencies](http://img.shields.io/david/dev/StephenWeiXu/react-scrollspy-nav.svg?style=flat-square)](https://github.com/StephenWeiXu/react-scrollspy-nav)
7+
[![License](http://img.shields.io/npm/l/react-scrollspy-nav.svg?style=flat-square)](https://github.com/StephenWeiXu/react-scrollspy-nav)
8+
[![downloads](https://img.shields.io/npm/dm/react-scrollspy-nav.svg?style=flat-square)](https://www.npmjs.com/package/react-scrollspy-nav)
9+
310
`react-scrollspy-nav` is a React component that provides smooth scrolling navigation to a web page. It also accounts for the factor that a React app may use different React router and therefore has different url patterns (for example the hash pathname in `HashRouter`).
411

512
See the [Demo](https://stephenweixu.github.io/react-scrollspy-nav).
613

714
## Installation
8-
`npm i react-scrollspy-nav --save`
15+
```
16+
npm i react-scrollspy-nav --save
17+
```
918

1019
## Usage
1120
```

0 commit comments

Comments
 (0)