@types/react-scroll-into-view-if-needed
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

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

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 React.JSX.IntrinsicElements | undefined;
}

export default class ReactScrollIntoViewIfNeeded extends React.Component<
    ReactScrollIntoViewIfNeededProps
> {}

Additional Details

Credits

These definitions were written by Angus Fretwell, Allan Pope, and Jonathan Ly.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-scroll-into-view-if-needed

Weekly Downloads

2,100

Version

2.1.5

License

MIT

Unpacked Size

4.3 kB

Total Files

5

Last publish

Collaborators

  • types