0.9.0 • Published 5 months ago
@types/react-scroll-sync v0.9.0
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
// Type definitions for react-scroll-sync 0.8
// Project: https://github.com/okonet/react-scroll-sync
// Definitions by: Corné Dorrestijn <https://github.com/cornedor>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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 | undefined;
enabled?: boolean | undefined;
}
export const ScrollSync: React.FC<ScrollSyncProps>;
export const ScrollSyncPane: React.FC<ScrollSyncPaneProps>;
Additional Details
- Last updated: Thu, 07 Oct 2021 22:31:31 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Corné Dorrestijn.