Skip to content

Commit

Permalink
Update Modal doc, relevant:ant-design#7085
Browse files Browse the repository at this point in the history
  • Loading branch information
ddcat1115 committed Aug 6, 2017
1 parent fdb943e commit 1dd3e00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ and so on.
> <Modal key={this.state.newKey} visible={this.state.visible} />
> ```
> Another way is to conditionally mount modal
> Another way is to conditionally mount modal.
> ```jsx
> {this.state.visible && <Modal visible={true} />}
Expand Down
6 changes: 6 additions & 0 deletions components/modal/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ title: Modal
> <Modal key={this.state.newKey} visible={this.state.visible} />
> ```
> 另一种方式是根据条件加载 Modal。
> ```jsx
> {this.state.visible && <Modal visible={true} />}
> ```
### Modal.method()
包括:
Expand Down

0 comments on commit 1dd3e00

Please sign in to comment.