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

docs(README): Add CSS transition requirement in usage section #307

Closed 0livare closed 2 years ago

0livare commented 2 years ago

It is a requirement of this library that the user supply a CSS transition, but I had to read all the ay down to the Migrating from v4 to v5 section of the README to find that out, even though I was just trying to use the latest version for the first time.

Defining this requirement in the usage section should make it easier for everyone to know that in addition to installing, importing, and using the component; they must also write a little bit of CSS.