mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
3ed7ec906e
* chore: remove useless tsx support * add * add * style * fix lint * fix lint * fix lint * update locale entry * update locale entry * update locale entry * delete useless style
16 lines
370 B
TypeScript
16 lines
370 B
TypeScript
import type { UploadToken } from '.';
|
|
import type { GenerateStyle } from '../../theme/internal';
|
|
|
|
// =========================== Motion ===========================
|
|
const genRtlStyle: GenerateStyle<UploadToken> = (token) => {
|
|
const { componentCls } = token;
|
|
|
|
return {
|
|
[`${componentCls}-rtl`]: {
|
|
direction: 'rtl',
|
|
},
|
|
};
|
|
};
|
|
|
|
export default genRtlStyle;
|