2.1.5 • Published 5 months ago
@types/react-scroll-into-view-if-needed v2.1.5
Installation
npm install --save @types/react-scroll-into-view-if-needed
Summary
This package contains type definitions for react-scroll-into-view-if-needed (https://github.com/icd2k3/react-scroll-into-view-if-needed#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll-into-view-if-needed.
index.d.ts
// Type definitions for react-scroll-into-view-if-needed 2.1
// Project: https://github.com/icd2k3/react-scroll-into-view-if-needed#readme
// Definitions by: Angus Fretwell <https://github.com/angusfretwell>
// Allan Pope <https://github.com/allanpope>
// Jonathan Ly <https://github.com/jonathanly>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.9
import * as React from 'react';
import * as ScrollIntoViewIfNeeded from 'scroll-into-view-if-needed';
export interface ReactScrollIntoViewIfNeededProps
extends React.HTMLProps<HTMLElement> {
options?: ScrollIntoViewIfNeeded.Options | undefined;
active?: boolean | undefined;
elementType?: keyof JSX.IntrinsicElements | undefined;
}
export default class ReactScrollIntoViewIfNeeded extends React.Component<
ReactScrollIntoViewIfNeededProps
> {}
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:30 GMT
- Dependencies: @types/react, @types/scroll-into-view-if-needed
- Global values: none
Credits
These definitions were written by Angus Fretwell, Allan Pope, and Jonathan Ly.