goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
17 lines • 675 B
TypeScript
import { default as React } from 'react';
export type Animation = 'none' | 'slideIn' | 'slideInUp' | 'slideInDown' | 'slideInLeft' | 'slideInRight' | 'stuckOnScroll' | 'fadeOut' | 'fadeIn';
interface AnimationProps {
animationtype?: Animation;
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
}
export declare const AnimatedElement: React.FC<AnimationProps>;
export declare const StuckElement: React.FC<{
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
}>;
export declare function useAnimation(ref: React.RefObject<HTMLDivElement>): void;
export {};
//# sourceMappingURL=animations.d.ts.map