From 6f73764f853b095539c067cea45b7957d7a642aa Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Tue, 27 Jun 2017 10:42:53 -0300 Subject: [PATCH] [chore] update installation documentation. --- docs/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/README.md b/docs/README.md index 84c1d891..36d77d9e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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: @@ -76,15 +85,6 @@ import ReactModal from 'react-modal'; /> ``` -## Install - -With [npm](https://npmjs.org/) installed, run - -``` -$ npm install react-modal -``` - - ## License MIT