mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
> A `function` child can be used instead of a React element.
> This function is called with the current transition status
> ('entering', 'entered', 'exiting', 'exited', 'unmounted'), which can be used
> to apply context specific props to a component.
b8da4f2f23/src/Transition.js (L379)
See also #27693
18 lines
604 B
TypeScript
18 lines
604 B
TypeScript
// Type definitions for react-transition-group 2.0
|
|
// Project: https://github.com/reactjs/react-transition-group
|
|
// Definitions by: Karol Janyst <https://github.com/LKay>
|
|
// Epskampie <https://github.com/Epskampie>
|
|
// Masafumi Koba <https://github.com/ybiquitous>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import CSSTransition = require("./CSSTransition");
|
|
import Transition from "./Transition";
|
|
import TransitionGroup = require("./TransitionGroup");
|
|
|
|
export {
|
|
CSSTransition,
|
|
Transition,
|
|
TransitionGroup
|
|
};
|