Installation
npm install --save @types/react-anchor-link-smooth-scroll
Summary
This package contains type definitions for react-anchor-link-smooth-scroll (https://github.com/mauricevancooten/react-anchor-link-smooth-scroll#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-anchor-link-smooth-scroll.
index.d.ts
import * as React from "react";
export interface AnchorLinkProps extends React.HTMLProps<HTMLAnchorElement> {
offset?: string | number | (() => number) | undefined;
}
export default class AnchorLink extends React.Component<AnchorLinkProps> {}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Nicholas Newman.