mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
08d1a71ff4
* refactor: Upload to CSS-in-JS * chore: clean up outdated code * chore: add FIXME * revert useless change of UploadList * fix: upload animation
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import type { GenerateStyle, FullToken } from '../../_util/theme';
|
|
|
|
// =========================== Motion ===========================
|
|
const genRtlStyle: GenerateStyle<FullToken<'Upload'>> = token => {
|
|
const { componentCls } = token;
|
|
|
|
return {
|
|
[`${componentCls}-rtl`]: {
|
|
direction: 'rtl',
|
|
},
|
|
};
|
|
};
|
|
|
|
export default genRtlStyle;
|