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

0.9.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-scroll-sync

Weekly Downloads

23,192

Version

0.9.0

License

MIT

Unpacked Size

3.95 kB

Total Files

5

Last publish

Collaborators

  • types