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: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Guy Romm, and rvdende.