reveal-on-scroll-react
Version:
Add scroll animation to your React application super fast!
9 lines (8 loc) • 331 B
TypeScript
/// <reference types="react" />
import { HTMLElements, IScrollReveal } from "./types";
/**
* This component wraps a motion element
* @param htmlTag The html element to be used
* @returns Scroll reveal react component
*/
export declare const AnimationComponent: (htmlTag: HTMLElements) => (props: IScrollReveal) => JSX.Element;