update the code

This commit is contained in:
russ_zhong
2018-11-08 16:56:22 +08:00
parent fabbe845be
commit ca9038c759

View File

@ -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: <img src="https://github.com/zhongdeming428/30-seconds-of-react/raw/master/logo.png"/>
});