react-scroll-motion
Version:
Easy to make scroll animation with ReactJS
11 lines (10 loc) • 363 B
TypeScript
import { CSSProperties, FC, ReactNode } from "react";
interface ScrollContainerProps {
snap?: "none" | "proximity" | "mandatory";
children: ReactNode | ReactNode[];
scrollParent?: Window | HTMLElement | null;
style?: CSSProperties;
className?: string;
}
declare const ScrollContainer: FC<ScrollContainerProps>;
export default ScrollContainer;