@types/react-addons-css-transition-group
TypeScript icon, indicating that this package has built-in type declarations

15.0.10 • Public • Published

Installation

npm install --save @types/react-addons-css-transition-group

Summary

This package contains type definitions for react-addons-css-transition-group (http://facebook.github.io/react/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-css-transition-group.

index.d.ts

import "react-addons-transition-group";
import { ComponentClass, CSSTransitionGroupProps } from "react";

declare module "react" {
    interface CSSTransitionGroupTransitionName {
        enter: string;
        enterActive?: string | undefined;
        leave: string;
        leaveActive?: string | undefined;
        appear?: string | undefined;
        appearActive?: string | undefined;
    }

    export interface CSSTransitionGroupProps extends HTMLTransitionGroupProps<ReactCSSTransitionGroup> {
        transitionName: string | CSSTransitionGroupTransitionName;
        transitionAppear?: boolean | undefined;
        transitionAppearTimeout?: number | undefined;
        transitionEnter?: boolean | undefined;
        transitionEnterTimeout?: number | undefined;
        transitionLeave?: boolean | undefined;
        transitionLeaveTimeout?: number | undefined;
    }
}

declare var ReactCSSTransitionGroup: ReactCSSTransitionGroup;
type ReactCSSTransitionGroup = ComponentClass<CSSTransitionGroupProps>;
export = ReactCSSTransitionGroup;

Additional Details

Credits

These definitions were written by Asana, AssureSign, and Microsoft.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-addons-css-transition-group

Weekly Downloads

16,028

Version

15.0.10

License

MIT

Unpacked Size

5.26 kB

Total Files

5

Last publish

Collaborators

  • types