Installation
npm install --save @types/react-custom-scroll
Summary
This package contains type definitions for react-custom-scroll (https://github.com/rommguy/react-custom-scroll).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-custom-scroll.
import { ComponentClass, ReactNode } from 'react';
export interface CustomScrollProps {
children?: ReactNode;
allowOuterScroll?: boolean | undefined;
heightRelativeToParent?: string | undefined;
onScroll?: ((e?: any) => any) | undefined;
addScrolledClass?: boolean | undefined;
freezePosition?: boolean | undefined;
handleClass?: string | undefined;
minScrollHandleHeight?: number | undefined;
flex?: string | undefined;
rtl?: boolean | undefined;
scrollTo?: number | undefined;
keepAtBottom?: boolean | undefined;
className?: string | undefined;
}
declare const CustomScroll: ComponentClass<CustomScrollProps>;
export default CustomScroll;
Additional Details
- Last updated: Sat, 02 Sep 2023 10:03:04 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Guy Romm, and rvdende.