Update snippets/ModalDialog.md

Co-Authored-By: zhongdeming428 <zhongdeming428@163.com>
This commit is contained in:
Robert Mennell
2018-11-08 16:05:58 +08:00
committed by GitHub
parent ae533920ea
commit af0c377163

View File

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