reactbits-animation
Version:
A comprehensive collection of beautiful, performant React animation components including bounce effects, click sparks, star borders, scroll-triggered animations, and fade transitions.
18 lines • 558 B
TypeScript
import React, { ReactNode } from "react";
interface AnimatedContentProps {
children: ReactNode;
distance?: number;
direction?: "vertical" | "horizontal";
reverse?: boolean;
duration?: number;
ease?: string | ((progress: number) => number);
initialOpacity?: number;
animateOpacity?: boolean;
scale?: number;
threshold?: number;
delay?: number;
onComplete?: () => void;
}
declare const AnimatedContent: React.FC<AnimatedContentProps>;
export default AnimatedContent;
//# sourceMappingURL=AnimatedContent.d.ts.map