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

0.12.3 • Public • Published

Installation

npm install --save @types/react-count-to

Summary

This package contains type definitions for react-count-to (https://github.com/MicheleBertoli/react-count-to).

Details

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

index.d.ts

import * as React from "react";

export as namespace ReactCountTo;

export = ReactCountTo;

declare namespace ReactCountTo {
    interface Props {
        from?: number | undefined;
        to: number;
        speed: number;
        delay?: number | undefined;
        onComplete?(): void;
        digits?: number | undefined;
        className?: string | undefined;
        tagName?: string | undefined;
        children?(value: number): React.ReactElement;
        easing?(progress: number): number;
    }
}

declare class ReactCountTo extends React.PureComponent<ReactCountTo.Props> {}

Additional Details

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

Credits

These definitions were written by pwolaq.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-count-to

Weekly Downloads

63

Version

0.12.3

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • types