mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
docs(collapse): add accordion, add bordered
This commit is contained in:
parent
8931591734
commit
1850699588
@ -18,7 +18,9 @@ A content area which can be collapsed and expanded.
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| -------- | ----------- | ---- | ------- |
|
||||
| accordion | If `true`, `Collapse` renders as `Accordion` | boolean | `false` |
|
||||
| activeKey | Key of the active panel | string\[]\|string | No default value. In `accordion` mode, it's the key of the first panel. |
|
||||
| bordered | Toggles rendering of the border around the collapse block | boolean | `true` |
|
||||
| defaultActiveKey | Key of the initial active panel | string | - |
|
||||
| onChange | Callback function executed when active panel is changed | Function | - |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user