@types/react-scroll-rotate
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Installation

npm install --save @types/react-scroll-rotate

Summary

This package contains type definitions for react-scroll-rotate (https://github.com/giladk/react-scroll-rotate#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll-rotate.

index.d.ts

import * as React from "react";

export interface ScrollRotateProps {
    target?: string | undefined;
    throttle?: number | undefined;
    from?: number | undefined;
    to?: number | undefined;
    method?: "px" | "perc" | undefined;
    loops?: number | undefined;
    animationDuration?: number | undefined;
    children: React.ReactNode;
}

export class ScrollRotate extends React.Component<ScrollRotateProps> {}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Alex Bukurov.

/@types/react-scroll-rotate/

    Package Sidebar

    Install

    npm i @types/react-scroll-rotate

    Weekly Downloads

    36

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.55 kB

    Total Files

    5

    Last publish

    Collaborators

    • types