Skip to content

Commit

Permalink
confirm组件开发
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhipeng committed Apr 18, 2019
1 parent 8e33ada commit 06fe2f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/src/docs/confirm.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ render () {
<div>
<Button type='primary' onClick={this.onClick}>Confirm全局式</Button>{' '}
<Button type='primary' onClick={this.onClick2}>Confirm组件式</Button>{' '}
<Confirm show={show} btnText='确定' callBack={()=>{}} >内容</Confirm>
<Confirm show={show} btnText='确定' callBack={()=>{
console.log('确定成功了')
}} >内容</Confirm>
</div>
)
}
Expand Down

0 comments on commit 06fe2f8

Please sign in to comment.