Socket
Socket
Sign inDemoInstall

@types/react-custom-scroll

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/react-custom-scroll

TypeScript definitions for react-custom-scroll


Version published
Weekly downloads
10K
decreased by-26.92%
Maintainers
1
Install size
1.61 MB
Created
Weekly downloads
 

Readme

Source

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

import { ComponentClass, ReactNode } from "react";

/**
 * Props for a CustomScroll component.
 */
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;
}

/**
 * Customize scrollbar design while using native scroll behavior.
 */
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.

FAQs

Last updated on 07 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc