mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
de2992f96f
* chore: base move * chore: all path * chore: fix script
16 lines
359 B
TypeScript
16 lines
359 B
TypeScript
import type { UploadToken } from '.';
|
|
import type { GenerateStyle } from '../../theme';
|
|
|
|
// =========================== Motion ===========================
|
|
const genRtlStyle: GenerateStyle<UploadToken> = token => {
|
|
const { componentCls } = token;
|
|
|
|
return {
|
|
[`${componentCls}-rtl`]: {
|
|
direction: 'rtl',
|
|
},
|
|
};
|
|
};
|
|
|
|
export default genRtlStyle;
|