ant-design/components/upload/style/rtl.tsx

16 lines
361 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;