Skip to content

Commit

Permalink
Fix readme markdown rendering for props table (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadbm authored and jamiebuilds committed Mar 23, 2017
1 parent 0167c25 commit 2371c21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,8 @@ export default class MyComponent extends React.Component {
```

## Props

| Name | Type | Description |
| --- | --- | --- | --- |
| --- | --- | --- |
| `onClose` | `Function` | **Required.** A callback to handle an event that is attempting to close the modal. |
| `closeOnEsc` | `Boolean` | Should this modal call `onClose` when the `esc` key is pressed? |
| `closeOnBackdropClick` | `Boolean` | Should this modal call `onClose` when the backdrop is clicked? |
Expand All @@ -217,6 +216,8 @@ export default class MyComponent extends React.Component {
| `backdropStyles` | `Object` | Optional `style` for the backdrop element. |
| `modalStyles` | `Object` | Optional `style` for the modal element. |



## Accessibility

One of ReactModal2's opinions is that modals should be as accessible as
Expand Down

0 comments on commit 2371c21

Please sign in to comment.