react-simple-marquee
Version:
Marquee build with React and CSS animation
13 lines (12 loc) • 535 B
TypeScript
/// <reference types="react" />
export declare const NEGATIVE_VALUE: string[];
export declare const VERTICAL_VALUE: string[];
export declare const useAnimationPlayState: () => {
textWrapper: import("react").MutableRefObject<HTMLDivElement | null>;
animationPlayState: "running" | "paused" | undefined;
};
export declare const useAnimationDuration: (speed: number, direction: string) => {
textElem: import("react").MutableRefObject<null>;
animationDuration: string | undefined;
animationName: string | undefined;
};