mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
parent
8e2baf4d4d
commit
39151c612b
@ -1,6 +1,7 @@
|
||||
import { Keyframes } from '@ant-design/cssinjs';
|
||||
import type { UploadToken } from '.';
|
||||
import type { GenerateStyle } from '../../theme/internal';
|
||||
import { initFadeMotion } from '../../style/motion';
|
||||
|
||||
const uploadAnimateInlineIn = new Keyframes('uploadAnimateInlineIn', {
|
||||
from: {
|
||||
@ -44,6 +45,9 @@ const genMotionStyle: GenerateStyle<UploadToken> = (token) => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
[`${componentCls}-wrapper`]: initFadeMotion(token),
|
||||
},
|
||||
uploadAnimateInlineIn,
|
||||
uploadAnimateInlineOut,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user