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: