-
Notifications
You must be signed in to change notification settings - Fork 809
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature] initial support for react 16.
- Loading branch information
Showing
4 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,14 @@ Accessible modal dialog component for React.JS | |
[![Coverage Status](https://coveralls.io/repos/github/reactjs/react-modal/badge.svg?branch=master)](https://coveralls.io/github/reactjs/react-modal?branch=master) | ||
![gzip size](http://img.badgesize.io/https://unpkg.com/react-modal/dist/react-modal.min.js?compression=gzip) | ||
|
||
## React 16 | ||
|
||
A initial support for React 16 is available under the branch `next`. | ||
|
||
Please, when open a new PR set the target branch `next` for `[email protected]` and `master` for `2.x`. | ||
|
||
Note that it can be unstable. | ||
|
||
## Table of Contents | ||
|
||
* [Installation](#installation) | ||
|
@@ -20,9 +28,15 @@ Accessible modal dialog component for React.JS | |
|
||
To install the stable version you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com): | ||
|
||
For a stable version: | ||
|
||
$ npm install react-modal@next | ||
$ yarn add react-modal@next | ||
|
||
For previous version of React: | ||
|
||
$ npm install react-modal | ||
$ yarn add react-modal | ||
$ npm install react-modal@stable | ||
$ yarn add react-modal@stable | ||
|
||
|
||
## Usage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters