Use Spoiler to hide long section of content.
maxHeight prop to control point at which content will be hidden under spoiler and control to show/hide extra appears.
If content height is less than
maxHeight spoiler will just render children.
showLabel are required – they are used as spoiler toggle button label in corresponding state.
Control transition duration by setting
transitionDuration prop (transition-duration CSS property in ms).
To disable animations, set prop to 0: