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
- Last updated: Wed, 06 Dec 2023 07:07:09 GMT
- Dependencies: @types/react, scroll-into-view-if-needed
Credits
These definitions were written by Angus Fretwell, Allan Pope, and Jonathan Ly.