Properties
Optional accordion
accordion?: boolean
Optional activeKey
activeKey?: string | number | (string | number)[]
Optional bordered
bordered?: boolean
Optional children
children?: ReactNode
Optional className
className?: string
Optional collapsible
collapsible?: CollapsibleType
Optional defaultActiveKey
defaultActiveKey?: string | number | (string | number)[]
Optional destroyInactivePanel
destroyInactivePanel?: boolean
Optional expandIcon
expandIcon?: ((panelProps) => ReactNode)
Type declaration
- (panelProps): ReactNode
Returns ReactNode
Optional expandIconPosition
expandIconPosition?: ExpandIconPosition
Optional ghost
ghost?: boolean
Optional items
items?: ItemType[]
Optional onChange
onChange?: ((key) => void)
Optional prefixCls
prefixCls?: string
Optional rootClassName
rootClassName?: string
Optional size
size?: SizeType
Optional style
style?: CSSProperties
手风琴效果