From 9004704aaa5eded0694ee2168537ed13d301baf1 Mon Sep 17 00:00:00 2001 From: Nadim Islam Date: Thu, 23 Mar 2017 00:53:40 -0400 Subject: [PATCH] Fix readme markdown rendering for props table --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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