Update snippets/ModalDialog.md

Co-Authored-By: zhongdeming428 <zhongdeming428@163.com>
This commit is contained in:
Robert Mennell
2018-11-09 08:37:19 +08:00
committed by GitHub
parent 95c4c3524e
commit a5ac8bf24c

View File

@ -126,7 +126,7 @@ class Dialog extends React.Component {
```jsx
// add to render function
<Dialog closeOnClick={true} />
<Dialog />
// every time you wanna call the dialog
// content is a jsx element