Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The ConcertinaList component allows users to show and hide list items.
The ConcertinaList component is similar to the Accordion component, except that when one section is opened the others close. Interacting with the title or arrow icon, shows and hides the content, and the arrow changes orientation to indicate the toggled state.
The ConcertinaList component will accept ConcertinaListItem components as children, which work with the ConcertinaList component to manage the state of the list.
Each ConcertinaListItem needs to contain a single ConcertinaListHeader and ConcertinaListContainer. The ConcertinaListHeader is the element that is clicked to reveal the content.
When you have a lot of content that you need to display, which could be overwhelming the user if seen all at once. The content should be in list format.
When you have a small amount of content to display and you do not need only show one item at a time. In that case you should use the Accordion component.
Name | Description | Default |
---|---|---|
expandFirstItem | unknown | true |