mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
update collapse demos
This commit is contained in:
parent
2a856e290b
commit
7461c21496
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user