Permalink
Browse files

add openAnimation api to Accordion, it is missing, #476

  • Loading branch information...
warmhug committed Nov 4, 2016
1 parent dddf4ea commit 951811484d192c2383b6f5c6815148ee1e44fab6
Showing with 2 additions and 1 deletion.
  1. +1 −1 components/accordion/demo/accordion.md
  2. +1 −0 components/accordion/index.md
@@ -15,7 +15,7 @@ const AccordionExmple = React.createClass({
render() {
return (
<div style={{ marginTop: 10, marginBottom: 10 }}>
<Accordion accordion>
<Accordion accordion openAnimation={{}}>
<Accordion.Panel header="标题一">
<List.Item>子内容一</List.Item>
<List.Item>子内容二</List.Item>
@@ -22,6 +22,7 @@ english: Accordion
| defaultActiveKey | 初始化选中面板的 key | String | 无 |
| accordion | `手风琴`模式 | Boolean | false |
| onChange | 切换面板的回调 | Function(key) | noop |
| openAnimation | 设置自定义切换动画,禁止动画可设为`{}` | Object | 参考 rc-collapse/lib/openAnimationFactory.js 文件 |

### Accordion.Panel

0 comments on commit 9518114

Please sign in to comment.