Collapsible

A Collapsible is a simple container, that makes it possible to change between collapsed and extended states, and this way hiding and showing the children passed in.

Usage

NameTypeDescription
titlestring
childrennode
initiallyCollapsedboolDefault: true
hasBottomBorderboolDefault: false
tabIndexnumberDefault: null
onTogglefuncDefault: () => {}