mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 03:46:07 +08:00
19 lines
761 B
TypeScript
19 lines
761 B
TypeScript
// Type definitions for React (react-addons-transition-group) 0.14
|
|
// 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.1
|
|
|
|
import { ReactElement, ComponentClass, ReactType, TransitionGroupProps } from 'react';
|
|
|
|
declare module 'react' {
|
|
export interface TransitionGroupProps extends HTMLAttributes<{}> {
|
|
component?: ReactType;
|
|
className?: string;
|
|
childFactory?: (child: ReactElement<any>) => ReactElement<any>;
|
|
}
|
|
}
|
|
|
|
declare var ReactCSSTransitionGroup : ComponentClass<TransitionGroupProps>;
|
|
export = ReactCSSTransitionGroup;
|