Skip to content

Commit

Permalink
docs: fix table
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Sep 28, 2017
1 parent e17c8e0 commit 9b68ce0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/carousel/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A carousel component. Scales with its container.
| vertical | Whether to use a vertical display | boolean | `false` |
| autoplay | Whether to scroll automatically | boolean | `false` |
| easing | Transition interpolation function name | string | `linear` |
| beforeChange | Callback function called before the current index changes | function(from, to) |
| afterChange | Callback function called after the current index changes | function(current) |
| beforeChange | Callback function called before the current index changes | function(from, to) | - |
| afterChange | Callback function called after the current index changes | function(current) | - |

For more info on the parameters, refer to the https://github.com/akiran/react-slick
4 changes: 2 additions & 2 deletions components/carousel/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ subtitle: 走马灯
| vertical | 垂直显示 | boolean | false |
| autoplay | 是否自动切换 | boolean | false |
| easing | 动画效果 | string | linear |
| beforeChange | 切换面板的回调 | function(from, to) | 无
| afterChange | 切换面板的回调 | function(current) | 无
| beforeChange | 切换面板的回调 | function(from, to) | |
| afterChange | 切换面板的回调 | function(current) | |

更多参数可参考:https://github.com/akiran/react-slick

0 comments on commit 9b68ce0

Please sign in to comment.