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.