Skip to content

Commit 6f8b963

Browse files
committed
[chore] update installation section.
1 parent f5d95e2 commit 6f8b963

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,16 @@ Accessible modal dialog component for React.JS
2525

2626
To install the stable version:
2727

28+
With [npm](https://npmjs.org/) installed, run:
29+
30+
```
31+
$ npm install react-modal
32+
```
33+
34+
...with [yarn](https://yarnpkg.com):
35+
2836
```
29-
npm install --save react-modal
37+
$ yarn add react-modal
3038
```
3139

3240
## Usage

0 commit comments

Comments
 (0)