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.
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.