ts-react-fade
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Installation

npm install ts-react-fade

or

yarn add ts-react-fade

Usage

import { FadeIn } from 'ts-react-fade';

<FadeIn >
  <div>Element 1</div>
  <div>Element 2</div>
</FadeIn>

Props

  • delay: Default: 300. Delay between animation.
  • transitionDuration: Default: 800. Duration of each child's animation in milliseconds.
  • className: Adds a className prop to the container div.
  • childClassName: Adds a className prop to each child div, allowing you to style the direct children of the FadeIn component.

inspired by

Readme

Keywords

Package Sidebar

Install

npm i ts-react-fade

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

12.3 kB

Total Files

7

Last publish

Collaborators

  • stephanstartsev