Skip to content

Commit

Permalink
Added install section to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xfelipem committed Jul 16, 2019
1 parent 96fbeb8 commit 72d01c4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[![Build Status](https://api.travis-ci.org/Muramasah/with-timer-react-hoc.svg?branch=master)](https://travis-ci.org/Muramasah/with-timer-react-hoc) [![Coverage Status](https://coveralls.io/repos/github/Muramasah/with-timer-react-hoc/badge.svg?branch=master)](https://coveralls.io/github/Muramasah/with-timer-react-hoc?branch=master)
[![Build Status](https://api.travis-ci.org/Muramasah/with-timer-react-hoc.svg?branch=master)](https://travis-ci.org/Muramasah/with-timer-react-hoc) [![Coverage Status](https://coveralls.io/repos/github/Muramasah/with-timer-react-hoc/badge.svg?branch=master)](https://coveralls.io/github/Muramasah/with-timer-react-hoc?branch=master) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Muramasah/with-timer-react-hoc/blob/master/LICENSE)

A High Order Component to create and clear a timer.

# Table of Contents

1. [Features](#features)
2. [Usage](#usage)
3. [External links](#external-links)
3. [Install](#install)
4. [External links](#external-links)

# Features

Expand Down Expand Up @@ -73,6 +74,18 @@ class RandomEmoji extends React.Component {
export default RandomEmoji;

```
# Install

NPM
```
npm i with-timer-react-hoc
```
Yarn
```
yarn add with-timer-react-hoc
```

# External links

1. [Oficial React HOCs documentation](https://reactjs.org/docs/higher-order-components.html)

0 comments on commit 72d01c4

Please sign in to comment.