Collapse
- The Collapse component, that animates the height of the content.Scale
- The Scale component, that scales the element.
Base usage of the Collapse component.
Hello
Base usage of the Scale component.
Hello
You can set the starting and ending height of the content by setting the startingHeight
and endingHeight
props.
Hello
You can disable the opacity animation by setting the animateOpacity
prop to false
. This option works for both the Collapse and Scale components.
Hello
You can unmount component on exit animation by setting the unmountOnExit
prop to true
. This option works for both the Collapse and Scale components.
You can set the initial scale of the content by setting the initialScale
prop. This option works for only for Scale component.
Hello