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
- Last updated: Thu, 14 Oct 2021 15:01:18 GMT
- Dependencies: @types/react, @types/react-addons-transition-group
- Global values: none
Credits
These definitions were written by Asana, AssureSign, and Microsoft.