From bbd7d943024d94443c98dbb378b5411e4d20b4a1 Mon Sep 17 00:00:00 2001 From: Robert Mennell Date: Fri, 9 Nov 2018 08:34:30 +0800 Subject: [PATCH] Update snippets/ModalDialog.md Co-Authored-By: zhongdeming428 --- snippets/ModalDialog.md | 1 - 1 file changed, 1 deletion(-) diff --git a/snippets/ModalDialog.md b/snippets/ModalDialog.md index 13eabc9f8..eef6e9952 100644 --- a/snippets/ModalDialog.md +++ b/snippets/ModalDialog.md @@ -4,7 +4,6 @@ Renders a dialog component with modal. This is a simple React ModalDialog Component that is called and controlled through events -* `closeOnClick` prop determines whether we can close the dialog via clicking on modal. Benefits from the CustomEvent API,this ModalDialog component supports single instance usage.We just need import `Dialog` once time,and can call the dialog everywhere.Every time we wanna show the dialog,we just call the static function `Dialog.show`.Passing our jsx templates and data as the parameter and then the dialog will show with the data and templates rendered.