Skip to content

ExpandableContainer properties

Summary


Props table


Parameter
Type
Default
any
/
div | header | footer
div
boolean
/
boolean
/
(newValue: boolean) => void
() => {}


Props list



children

Type
Default
any
/


content to render inside Container - extended from Container component



wrapper

Type
Default
div | header | footer
div


component wrapper type - extended from Container component



expanded

Type
Default
boolean
/


Extra content showed only when container is expanded (compact === true)



compact

Type
Default
boolean
/


if true, shows the whole container content



onChange

Type
Default
(newValue: boolean) => void
() => {}


Callback triggered when ExpandableContainer component input value is changed by the user