.fade-motion(@className, @keyframeName) {
@name: ~'@{ant-prefix}-@{className}';
.make-motion(@name, @keyframeName);
.@{name}-enter,
.@{name}-appear {
opacity: 0;
animation-timing-function: linear;
}
.@{name}-leave {
.make-motion(@className, @keyframeName);
.@{className}-enter,
.@{className}-appear {
.@{className}-leave {
.fade-motion(fade, antFade);
@keyframes antFadeIn {
0% {
100% {
opacity: 1;
@keyframes antFadeOut {