Skip to content

Commit

Permalink
[chore] update installation documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 27, 2017
1 parent e5090de commit 6f73764
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
We maintain that accessibility is a key component of any modern web application. As such, we have created this modal in such a way that it fulfills the accessibility requirements of the modern web. We seek to keep the focus on accessibility while providing a functional, capable modal component for general use.

## Installation

To install the stable version you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com):


$ npm install react-modal
$ yarn add react-modal


## General Usage

The following is an example of using react-modal specifying all the possible props and options:
Expand Down Expand Up @@ -76,15 +85,6 @@ import ReactModal from 'react-modal';
/>
```

## Install

With [npm](https://npmjs.org/) installed, run

```
$ npm install react-modal
```


## License

MIT

0 comments on commit 6f73764

Please sign in to comment.