Update modal documentation (#7085)

Add another way to destroy state on close modal
This commit is contained in:
Ivan Radeljic 2017-08-05 18:04:25 +02:00 committed by ddcat1115
parent cb8f6a6ef5
commit 1651682020

View File

@ -43,6 +43,12 @@ and so on.
> <Modal key={this.state.newKey} visible={this.state.visible} />
> ```
> Another way is to conditionally mount modal
> ```jsx
> {this.state.visible && <Modal visible={true} />}
> ```
### Modal.method()
There are five ways to display the information based on the content's nature: