mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
chore: add npm badge
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# React Navigation Stack
|
||||
|
||||
[](https://circleci.com/gh/react-navigation/stack/tree/master) 
|
||||
[![Build Status][build-badge]][build]
|
||||
[![Version][version-badge]][package]
|
||||
[![MIT License][license-badge]][license]
|
||||
|
||||
Stack navigator for use on iOS and Android.
|
||||
|
||||
@@ -11,9 +13,11 @@ Open a Terminal in your project's folder and run,
|
||||
```sh
|
||||
yarn add react-navigation-stack
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
npm i react-navigation-stack
|
||||
npm install react-navigation-stack
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -59,3 +63,12 @@ yarn lint --fix
|
||||
## Docs
|
||||
|
||||
Documentation can be found on the [React Navigation website](https://reactnavigation.org/docs/en/stack-navigator-2.0.html).
|
||||
|
||||
<!-- badges -->
|
||||
|
||||
[build-badge]: https://img.shields.io/circleci/project/github/react-navigation/stack/master.svg?style=flat-square
|
||||
[build]: https://circleci.com/gh/react-navigation/stack
|
||||
[version-badge]: https://img.shields.io/npm/v/react-navigation-stack.svg?style=flat-square
|
||||
[package]: https://www.npmjs.com/package/react-navigation-stack
|
||||
[license-badge]: https://img.shields.io/npm/l/react-navigation-stack.svg?style=flat-square
|
||||
[license]: https://opensource.org/licenses/MIT
|
||||
|
||||
Reference in New Issue
Block a user