diff --git a/README.md b/README.md index 4de772d..c4d3dc6 100644 --- a/README.md +++ b/README.md @@ -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? | @@ -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