update collapse demos

This commit is contained in:
afc163 2015-07-17 11:59:14 +08:00
parent 2a856e290b
commit 7461c21496

View File

@ -2,7 +2,7 @@
- order: 0
默认打开第二个面板
可以同时展开多个面板,这个例子默认展开了第一个
---
@ -21,7 +21,7 @@ var text = `
`;
React.render(
<Collapse defaultActiveKey={["2"]} onChange={callback}>
<Collapse defaultActiveKey={["1"]} onChange={callback}>
<Panel header={`This is panel header 1`} key="1">
<p>{text}</p>
</Panel>