Skip to content

PanStephan/ts-react-fade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published