0.0.4 • Published 6 years ago
react-fade-ts-test v0.0.4
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 aclassNameprop to the container div.childClassName: Adds aclassNameprop to each child div, allowing you to style the direct children of theFadeIncomponent.
****inspired by