Browse Source

docs(collapse): add accordion, add bordered

pull/11027/merge
byzyk 7 years ago
committed by 偏右
parent
commit
1850699588
  1. 2
      components/collapse/index.en-US.md

2
components/collapse/index.en-US.md

@ -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…
Cancel
Save