From bb4b5272fed90752134fc180e35f68c4379b5de1 Mon Sep 17 00:00:00 2001 From: Robert Mennell Date: Thu, 8 Nov 2018 16:05:30 +0800 Subject: [PATCH] modify clickModal2Hide prop to closeOnClick prop Co-Authored-By: zhongdeming428 --- snippets/ModalDialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/ModalDialog.md b/snippets/ModalDialog.md index 939803bed..486e7075f 100644 --- a/snippets/ModalDialog.md +++ b/snippets/ModalDialog.md @@ -6,7 +6,7 @@ This is a simple React ModalDialog Component.It owns 4 props: `show`、`close` * `close` prop defines the method for closing the dialog. * `title` prop determines the title of the dialog. -* `clickModal2Hide` prop determines whether we can close the dialog via clicking on modal. +* `closeOnClick` prop determines whether we can close the dialog via clicking on modal. Create 3 methods and bind them to component: