reveal-on-scroll-react
Version:
Add scroll animation to your React application super fast!
28 lines (27 loc) • 690 B
TypeScript
import { FC } from "react";
import { IScrollReveal } from "./types";
/**
* Replace this component with your regular html tags
* @example <ScrollReveal.p
* animation="slide-in-bottom"
* >
* Hello World
* </ScrollReveal.p>
*/
export declare const ScrollReveal: {
p: FC<IScrollReveal>;
h1: FC<IScrollReveal>;
h2: FC<IScrollReveal>;
h3: FC<IScrollReveal>;
h4: FC<IScrollReveal>;
h5: FC<IScrollReveal>;
h6: FC<IScrollReveal>;
strong: FC<IScrollReveal>;
em: FC<IScrollReveal>;
blockquote: FC<IScrollReveal>;
cite: FC<IScrollReveal>;
q: FC<IScrollReveal>;
div: FC<IScrollReveal>;
ul: FC<IScrollReveal>;
li: FC<IScrollReveal>;
};