Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-custom-scroll

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-custom-scroll

TypeScript definitions for react-custom-scroll

  • 4.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.6K
decreased by-21.94%
Maintainers
1
Weekly downloads
 
Created
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

// 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 } from 'react';

/**
 * Props for a CustomScroll component.
 */
export interface CustomScrollProps {
    allowOuterScroll?: boolean;
    heightRelativeToParent?: string;
    flex?: number | string;
    onScroll?: (e?: any) => any;
    addScrolledClass?: boolean;
    freezePosition?: boolean;
    minScrollHandleHeight?: number;
    rtl?: boolean;
    scrollTo?: number;
    keepAtBottom?: boolean;
    className?: string;
}

/**
 * Customize scrollbar design while using native scroll behavior.
 */
declare const CustomScroll: ComponentClass<CustomScrollProps>;

export default CustomScroll;

Additional Details

  • Last updated: Sun, 06 Jun 2021 05:01:22 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Guy Romm, and rvdende.

FAQs

Package last updated on 06 Jun 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc