0.1.1 • Published 5 years ago
react-fade-ts-test v0.1.1
Installation
npm install react-fade-ts
or
yarn add react-fade-ts
Usage
import { FadeIn } from 'react-fade-ts';
<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 aclassName
prop to the container div.childClassName
: Adds aclassName
prop to each child div, allowing you to style the direct children of theFadeIn
component.
****inspired by