The Expander Group is used for grouping Expander components.
npm install @nib-components/expander-group
import ExpanderGroup from '@nib-components/expander-group';
|number||Index of the expander to be expanded.|
|number||Indexes of multiple expanders to be expanded. Requires multiExpanded = true|
|function||A function to be called when the expander is toggled.|
|boolean||By default, only a single |
In addition to these props,
onToggleExpanded props are passed down to the children of
<ExpanderGroup /> to keep state on the expanded state.
Expander Group by default limits the number of Expanders allowed open at a time to one. However, Expander Group can allow multiple Expanders to be open at a time with the
Expander Group can initially open a specifc Expander by setting the index to the zero-based index of the Expander using the