From ca9038c759c607926b0eb5e619d91de3c8aa7cdd Mon Sep 17 00:00:00 2001 From: russ_zhong Date: Thu, 8 Nov 2018 16:56:22 +0800 Subject: [PATCH] update the code --- snippets/ModalDialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/ModalDialog.md b/snippets/ModalDialog.md index d28b54ee6..0ffac7de1 100644 --- a/snippets/ModalDialog.md +++ b/snippets/ModalDialog.md @@ -124,7 +124,7 @@ class Dialog extends React.Component { // every time you wanna call the dialog // content is a jsx element -ModalDialog.show({ +Dialog.show({ title: 'Test', content: });