The way the transition group works is by adding the class shrink-appear initially to the element that needs to be animated, then additionally adding shrink-appear-active, because our transitionName is "shrink".

If you want to do a leave animation you can do that by just supplying a transitionLeaveTimeout to the transition group and defining 2 new classes, in our example those would be: