Skip to content

v3.0.0

Compare
Choose a tag to compare
@roginfarrer roginfarrer released this 25 Apr 19:50

Breaking Changes

See the v2 -> v3 migration guide

What's new?

TypeScript!

react-collapsed has been completely rewritten with TypeScript!

Auto transition duration

useCollapse will now calculate the optimal transition duration for the height of the contents. This creates more natural animations. Resolves #36

Bug Fixes

  • Fixed endless animation bug 🎉. See the blog post for how it was fixed! Resolves #14
  • Resolves #39