collapsible | -- | boolean | -- |
gap | -- | number | -- |
padding | -- | number|string|{body?:number|string;header?:number|string} | -- |
variant | -- | "ghost"|"block"|"default"|"pure" | -- |
size | -- | "small"|"middle"|"large" | -- |
style | -- | {} | -- |
className | -- | string | -- |
children | -- | ReactNode | -- |
onChange | -- | (key:string[])=>void | -- |
prefixCls | -- | string | -- |
items | Collapse items content | ItemType[] | -- |
rootClassName | -- | string | -- |
ghost | -- | boolean | -- |
activeKey | -- | Array|string|number | -- |
expandIcon | -- | (panelProps:PanelProps)=>|string|number|unknown|ReactElement|Iterable<ReactNode>|ReactPortal|Promise<AwaitedReactNode>|boolean | -- |
defaultActiveKey | -- | Array|string|number | -- |
accordion | 手风琴效果 | boolean | -- |
destroyInactivePanel | -- | boolean | -- |
bordered | -- | boolean | -- |
expandIconPosition | -- | "start"|"end"|"left"|"right" | -- |