react-scrollsense
Version:
A lightweight scroll sensor to solve your react scroll into viewport issues.
5 lines (4 loc) • 300 B
TypeScript
import { ParsedRootMargin } from "../native/types";
export declare function parseDelay(delayLiteral: any): number;
export declare function parseRootMargin(rootMargin: any): ParsedRootMargin;
export declare function getLengthForType(type: string, marginValue: number, rootLength: number): number;