From a2e59520181906730db2973fccc62a2ef5698fab Mon Sep 17 00:00:00 2001 From: Linmic Date: Mon, 12 Dec 2016 13:54:49 +0800 Subject: [PATCH] [docs] added required props info to README (#274) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 09aa0711..cd12e7ba 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ npm install --save react-modal ## Usage +The Modal object has two required props: + +- `isOpen` to render its children. +- `contentLabel` to improve a11y, since `v1.6.0`. + +Example: + ```xml