react-animate-content-height
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

react-animate-content-height

A component which will enable animating the height of a component based on the actual content.

That means you don't have to calculate the height or anything in order to animate it. This library will do those calculations for you.

Usage

import { AnimateHeight } from "react-animate-content-height";

<AnimateHeight>
    Content with varying size    
</AnimateHeight>

For a more comprehensive example, check out the example in the example folder in the repo, or this Sandbox.

Readme

Keywords

Package Sidebar

Install

npm i react-animate-content-height

Weekly Downloads

1

Version

1.1.6

License

ISC

Unpacked Size

5.65 kB

Total Files

4

Last publish

Collaborators

  • rasmusrim