v0.27.0
A Collapse
component allows for showing/hiding content.
Ea tempor sunt amet labore proident dolor proident commodo in exercitation ea nulla sunt pariatur. Nulla sunt ipsum do eu consectetur exercitation occaecat labore aliqua. Aute elit occaecat esse ea fugiat esse. Reprehenderit sunt ea ea mollit commodo tempor amet fugiat.
Edit the code below to see your changes live!
Prop Name | Type | Default | Description |
---|---|---|---|
title * | string |
| Collapse title. |
initiallyOpen | boolean |
| Defines if panel with content is visible by default. |
onCollapseChange | (isOpen: boolean) => void |
| Function that will be called when a title is clicked. |
Props ending with * are required