Add custom classes support to CSSTransitionGroup

This commit is contained in:
James Brantly
2015-11-11 08:55:17 -05:00
parent 813f3b03db
commit bb72880cd3
2 changed files with 22 additions and 1 deletions
+11
View File
@@ -462,6 +462,17 @@ React.createFactory(CSSTransitionGroup)({
transitionLeave: true
});
React.createFactory(CSSTransitionGroup)({
transitionName: {
enter: "enter",
enterActive: "enterActive",
leave: "leave",
leaveActive: "leaveActive",
appear: "appear",
appearActive: "appearActive"
}
});
//
// LinkedStateMixin addon
// --------------------------------------------------------------------------