Skip to content

Commit 5641f40

Browse files
committed
[chore] update installation section.
1 parent ae258ec commit 5641f40

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ Accessible modal dialog component for React.JS
1818

1919
## Installation
2020

21-
To install the stable version:
21+
To install the stable version you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com):
22+
23+
24+
$ npm install react-modal
25+
$ yarn add react-modal
2226

23-
```
24-
npm install --save react-modal
25-
```
2627

2728
## Usage
2829

0 commit comments

Comments
 (0)