diff --git a/components/enter-animation/demo/basic.md b/components/enter-animation/demo/basic.md index bd1c69ae84acf71b8ede31807566fd41b1ac9718..2f592743663b8baa7daa1cd3e76c09ef70ee944a 100644 --- a/components/enter-animation/demo/basic.md +++ b/components/enter-animation/demo/basic.md @@ -13,12 +13,12 @@ var EnterAnimation = antd.EnterAnimation; var Test = React.createClass({ getInitialState() { return { - bool:true, + show:true, } }, onClick() { this.setState({ - bool:!this.state.bool, + show:!this.state.show, }) }, render() { @@ -28,7 +28,7 @@ var Test = React.createClass({ - {this.state.bool ?
+ {this.state.show ?
diff --git a/components/enter-animation/index.md b/components/enter-animation/index.md index f8d63ddb418c94cf39bcd234d24976ae48b01e51..ba79bff8f2248634e03890c563bd7539672c80bc 100644 --- a/components/enter-animation/index.md +++ b/components/enter-animation/index.md @@ -17,14 +17,16 @@ ## 如何使用 -一级子元素依次进场。 +元素依次进场。 ```html -
依次进场
-
依次进场
-
依次进场
-
依次进场
+
+
依次进场
+
依次进场
+
依次进场
+
依次进场
+
``` @@ -32,14 +34,16 @@ ```html -
-
- 依次进场 +
+
+
+ 依次进场 +
+
依次进场
+
依次进场,并修改动画效果
+
没有动画
-
依次进场
-
依次进场,并修改动画效果
-
没有动画
```