Socket
Socket
Sign inDemoInstall

@types/react-scroll-sync

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-scroll-sync

TypeScript definitions for react-scroll-sync


Version published
Weekly downloads
19K
decreased by-4.54%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/react-scroll-sync

Summary

This package contains type definitions for react-scroll-sync (https://github.com/okonet/react-scroll-sync).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll-sync.

index.d.ts

import * as React from "react";

export interface ScrollSyncProps {
    children?: React.ReactNode;
    onSync?(el: Element): void;
    proportional?: boolean | undefined;
    vertical?: boolean | undefined;
    horizontal?: boolean | undefined;
    enabled?: boolean | undefined;
}

export interface ScrollSyncPaneProps {
    attachTo?: HTMLElement | undefined;
    children?: React.ReactNode;
    group?: string | string[] | undefined;
    enabled?: boolean | undefined;
    innerRef?: React.Ref<HTMLElement>;
}

export const ScrollSync: React.FC<ScrollSyncProps>;
export const ScrollSyncPane: React.FC<ScrollSyncPaneProps>;

Additional Details

  • Last updated: Fri, 08 Dec 2023 12:09:33 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Corné Dorrestijn.

FAQs

Last updated on 08 Dec 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