Skip to content

Commit

Permalink
[docs] added required props info to README (reactjs#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
linmic authored and claydiffrient committed Dec 12, 2016
1 parent f460c10 commit a2e5952
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ npm install --save react-modal

## Usage

The Modal object has two required props:

- `isOpen` to render its children.
- `contentLabel` to improve a11y, since `v1.6.0`.

Example:

```xml
<Modal
isOpen={bool}
Expand Down

0 comments on commit a2e5952

Please sign in to comment.