ant-design/components/upload/style/rtl.tsx
afc163 08d1a71ff4
refactor: Move Upload from less to css in js (#34528)
* refactor: Upload to CSS-in-JS

* chore: clean up outdated code

* chore: add FIXME

* revert useless change of UploadList

* fix: upload animation
2022-04-25 18:46:53 +08:00

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;