0.12.3 • Published 6 months ago

@types/react-count-to v0.12.3

Weekly downloads
52
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-count-to 0.12
// Project: https://github.com/MicheleBertoli/react-count-to
// Definitions by: pwolaq <https://github.com/pwolaq>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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: Thu, 08 Jul 2021 20:20:33 GMT
  • Dependencies: @types/react
  • Global values: ReactCountTo

Credits

These definitions were written by pwolaq.