From d3f40e37c52f35679ad98a6e1537e99f2d11da61 Mon Sep 17 00:00:00 2001 From: jljsj Date: Fri, 11 Sep 2015 13:38:40 +0800 Subject: [PATCH] updata enter-leave show --- components/enter-animation/demo/enter-leave.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/enter-animation/demo/enter-leave.md b/components/enter-animation/demo/enter-leave.md index c68392146b..f28539388e 100644 --- a/components/enter-animation/demo/enter-leave.md +++ b/components/enter-animation/demo/enter-leave.md @@ -27,12 +27,12 @@ var Test = React.createClass({ console.log('leave'); } }, - bool:true, + show:true, } }, onClick() { this.setState({ - bool:!this.state.bool, + show:!this.state.show, }) }, @@ -43,7 +43,7 @@ var Test = React.createClass({ - {this.state.bool ?
+ {this.state.show ?