The Collapse component is used to create regions of content that can expand/collapse with a simple animation. It helps to hide content that's not immediately relevant to the user.
This component doesn't have any custom props.
|duration||The animation duration as it expands|
|startingHeight||The height you want the content in it's collapsed state. Set to |
|endingHeight||The height you want the content in it's expanded state. Set to |
|onAnimationEnd||The function to be called when the collapse animation starts. It provides the |
|onAnimationStart||The function to be called when the collapse animation ends. It provides the |