Update snippets/ModalDialog.md
Co-Authored-By: zhongdeming428 <zhongdeming428@163.com>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user