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

15.0.7 • Public • Published

Installation

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

Summary

This package contains type definitions for React (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

// Type definitions for React (react-addons-css-transition-group) 15.0
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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.

Keywords

none

Install

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

DownloadsWeekly Downloads

15,790

Version

15.0.7

License

MIT

Unpacked Size

5.96 kB

Total Files

4

Last publish

Collaborators

  • types