ReactNode
The content of the CollapsibleList, should be CollapsibleListItem(s).
(toggle: () => void, isCollapsed: boolean) => ReactNode
Function to render the header of the CollapsibleList.
string
className for the element.
ReactNode
Footer of the CollapsibleList.
boolean
Whether the CollapsibleList should be collapsed by default.
Default: trueboolean
Whether the CollapsibleList should have opening and closing animation. Has no effect when prefers-reduced-motion is set
Default: falseReactNode
The content of the CollapsibleListItem.
MouseEventHandler
Handler that is called when the CollapsibleListItem is clicked.
boolean
Whether this element is the header of a CollapsibleList.
Default: falsestring
className for the element.
boolean
Whether this element is active.
Default: falseboolean
Whether the CollapsibleList is collapsed.
Default: trueboolean
Whether the CollapsibleListItem is indeterminate (only active if the asHeader prop is set to true).
boolean
Whether the CollapsibleListItem is selected.
ChangeEventHandler<HTMLInputElement>
Handler that is called when a CollapsibleListItem has been selected.
ReactNode
Right addon of the CollapsibleListItem.
"alert"
The visual style of the CollapsibleListItem.