1 | import "react-addons-transition-group";
|
2 | import { ComponentClass, CSSTransitionGroupProps } from "react";
|
3 |
|
4 | declare module "react" {
|
5 | interface CSSTransitionGroupTransitionName {
|
6 | enter: string;
|
7 | enterActive?: string | undefined;
|
8 | leave: string;
|
9 | leaveActive?: string | undefined;
|
10 | appear?: string | undefined;
|
11 | appearActive?: string | undefined;
|
12 | }
|
13 |
|
14 | export interface CSSTransitionGroupProps extends HTMLTransitionGroupProps<ReactCSSTransitionGroup> {
|
15 | transitionName: string | CSSTransitionGroupTransitionName;
|
16 | transitionAppear?: boolean | undefined;
|
17 | transitionAppearTimeout?: number | undefined;
|
18 | transitionEnter?: boolean | undefined;
|
19 | transitionEnterTimeout?: number | undefined;
|
20 | transitionLeave?: boolean | undefined;
|
21 | transitionLeaveTimeout?: number | undefined;
|
22 | }
|
23 | }
|
24 |
|
25 | declare var ReactCSSTransitionGroup: ReactCSSTransitionGroup;
|
26 | type ReactCSSTransitionGroup = ComponentClass<CSSTransitionGroupProps>;
|
27 | export = ReactCSSTransitionGroup;
|