react-nice-scroll
Version:
A React library to smooth scroll and scroll-based animations.
16 lines (15 loc) • 473 B
TypeScript
import React, { FC } from 'react';
import './styles.scss';
interface ScrollContainerProps {
children: React.ReactNode;
damping?: number;
thumbMinSize?: number;
renderByPixels?: boolean;
alwaysShowTracks?: boolean;
continuousScrolling?: boolean;
delegateTo?: EventTarget;
activeSmoothScrollOnTouchDevice?: boolean;
disableSmoothScroll?: boolean;
}
export declare const ScrollContainer: FC<ScrollContainerProps>;
export {};