mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
9669d9c668
* chore: full token * chore: fix lint
16 lines
365 B
TypeScript
16 lines
365 B
TypeScript
import type { UploadToken } from '.';
|
|
import type { GenerateStyle } from '../../_util/theme';
|
|
|
|
// =========================== Motion ===========================
|
|
const genRtlStyle: GenerateStyle<UploadToken> = token => {
|
|
const { componentCls } = token;
|
|
|
|
return {
|
|
[`${componentCls}-rtl`]: {
|
|
direction: 'rtl',
|
|
},
|
|
};
|
|
};
|
|
|
|
export default genRtlStyle;
|