Neutrino Packing Machine

    @types/react-custom-scroll
    TypeScript icon, indicating that this package has built-in type declarations

    4.3.2 • Public • Published

    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.

    index.d.ts

    // Type definitions for react-custom-scroll 4.3
    // Project: https://github.com/rommguy/react-custom-scroll
    // Definitions by:  Guy Romm <https://github.com/rommguy>
    //                  rvdende <https://github.com/rvdende>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 3.5
    
    import { ComponentClass, ReactNode } from 'react';
    
    /**
     * Props for a CustomScroll component.
     */
    export interface CustomScrollProps {
        children?: ReactNode;
        allowOuterScroll?: boolean | undefined;
        heightRelativeToParent?: string | undefined;
        flex?: number | string | undefined;
        onScroll?: ((e?: any) => any) | undefined;
        addScrolledClass?: boolean | undefined;
        freezePosition?: boolean | undefined;
        minScrollHandleHeight?: number | undefined;
        rtl?: boolean | undefined;
        scrollTo?: number | undefined;
        keepAtBottom?: boolean | undefined;
        className?: string | undefined;
    }
    
    /**
     * Customize scrollbar design while using native scroll behavior.
     */
    declare const CustomScroll: ComponentClass<CustomScrollProps>;
    
    export default CustomScroll;

    Additional Details

    • Last updated: Thu, 14 Oct 2021 10:01:29 GMT
    • Dependencies: @types/react
    • Global values: none

    Credits

    These definitions were written by Guy Romm, and rvdende.

    Keywords

    none

    Install

    npm i @types/react-custom-scroll

    DownloadsWeekly Downloads

    2,621

    Version

    4.3.2

    License

    MIT

    Unpacked Size

    5.11 kB

    Total Files

    4

    Last publish

    Collaborators

    • types