Skip to content

Commit 4ec7184

Browse files
andrewjmeaddiasbruno
authored andcommittedJun 19, 2017
[chode] Add table of contents
1 parent 96fdb90 commit 4ec7184

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed
 

Diff for: ‎README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,21 @@ Accessible modal dialog component for React.JS
77
[![Coverage Status](https://coveralls.io/repos/github/reactjs/react-modal/badge.svg?branch=master)](https://coveralls.io/github/reactjs/react-modal?branch=master)
88
![gzip size](http://img.badgesize.io/https://unpkg.com/react-modal/dist/react-modal.min.js?compression=gzip)
99

10+
## Table of Contents
11+
12+
* [Active Development](#active-development)
13+
* [Installation](#installation)
14+
* [Usage](#usage)
15+
* [Styles](#styles)
16+
* [Examples](#examples)
17+
* [Testing](#testing)
18+
* [Demos](#demos)
19+
1020
## Active Development
1121

1222
`react-modal` repository is now updated. New PRs can target the `master`.
1323

14-
### Installation
24+
## Installation
1525

1626
To install the stable version:
1727

@@ -237,7 +247,7 @@ class App extends React.Component {
237247
ReactDOM.render(<App />, appElement);
238248
```
239249

240-
# Testing
250+
## Testing
241251

242252
When using React Test Utils with this library, here are some things to keep in mind:
243253
- You need to set isOpen={true} on the modal component for it to render its children.
@@ -262,6 +272,6 @@ pass the 'shouldCloseOnOverlayClick' prop with 'false' value.
262272
</Modal>
263273
```
264274

265-
# Demos
275+
## Demos
266276

267277
* http://reactjs.github.io/react-modal/

0 commit comments

Comments
 (0)
Please sign in to comment.