ant-design/components/upload/style/rtl.ts
lijianan 3ed7ec906e chore: remove useless tsx support (#39890)
* 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
2022-12-31 22:24:55 +08:00

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;