nkbt / react-collapse

Component-wrapper for collapse animation with react-motion for elements with variable (and dynamic) height
MIT License
1.12k stars 113 forks source link

Can this package be used to collapse a component when it unmounts? #225

Closed joetidee closed 6 years ago

joetidee commented 6 years ago

Can this package be used to collapse a component when the component unmounts?

nkbt commented 6 years ago

Sure, but you need to wrap it yourself. here is an example https://github.com/nkbt/react-collapse/issues/223