npm.io
1.0.5 • Published 2 years ago

@types/react-anchor-link-smooth-scroll

Licence
MIT
Version
1.0.5
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Nicholas Newman.