docs(collapse): add accordion, add bordered

This commit is contained in:
byzyk 2018-06-24 13:39:35 +04:00 committed by 偏右
parent 8931591734
commit 1850699588

View File

@ -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 | - |