From de0b661b264d600bcfd2f84a2991041226e62087 Mon Sep 17 00:00:00 2001 From: Ryan Florence Date: Wed, 24 Sep 2014 20:47:58 -0600 Subject: [PATCH] slightly less junky README --- README.md | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index a346fdb3..08b2df13 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,26 @@ React Modal Accessible React Modal Dialog Component. This isn't ready to be used yet, still under development. +Accessibility Notes +------------------- + +Etc. etc. etc. + Usage ----- ```xml

Modal Content

Etc.

``` -Accessibility Notes -------------------- - - - -Inside the app: +Inside an app: ```js /** @jsx React.DOM */ @@ -50,35 +50,23 @@ var App = React.createClass({ this.setState({modalIsOpen: false}); }, - handleModalCloseRequest: function() { - // opportunity to validate something and keep the modal open even if it - // requested to be closed - this.setState({modalIsOpen: false}); - }, - render: function() { return (
-

Hello

+

Hello

I am a modal
- - - - -
- - - - + + + +