UNPKG

smooth-motion

Version:

React smooth scroll and animation component powered by Framer Motion. Lightweight, fluid, customizable, TypeScript-ready, and perfect for modern web apps and UI design.

17 lines (13 loc) 435 B
import React$1, { ReactNode } from 'react'; type SmoothScrollProps = { children: ReactNode; stiffness?: number; damping?: number; mass?: number; }; declare const SmoothScroll: React$1.FC<SmoothScrollProps>; type UseSmoothScrollProps = { speed?: number; }; declare const UseSmoothScroll: React.FC<UseSmoothScrollProps>; export { SmoothScroll, type SmoothScrollProps, UseSmoothScroll, type UseSmoothScrollProps };