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

1.0.2 • Public • Published

react-auto-animate-height

Automatically animate height based on its children

NPM JavaScript Style Guide

Install

npm install --save react-auto-animate-height

Usage

import React, { Component } from 'react'

import AutoAnimateHeight from 'react-auto-animate-height'

const Example = ({ children }) => {
  return (
    <div className={'card'}>
      <AutoAnimateHeight>
        { children }
      </AutoAnimateHeight>
    </div>
  )
}

Result

example-3

License

MIT © MatthiasKrijgsman

Readme

Keywords

none

Package Sidebar

Install

npm i react-auto-animate-height

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

15.4 kB

Total Files

9

Last publish

Collaborators

  • matthiaskrijgsman