0.1.5 • Published 4 years ago

ts-react-fade v0.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago