Update snippets/ModalDialog.md

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

View File

@ -131,7 +131,8 @@ class Dialog extends React.Component {
// every time you wanna call the dialog
// content is a jsx element
Dialog.show({
title: 'Test',
title: 'Test',
closeOnClick: true,
content: <img src="https://github.com/zhongdeming428/30-seconds-of-react/raw/master/logo.png"/>
});
```