ant-design/components/upload/style/rtl.ts
lijianan 9aec72c395
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-29 18:33:13 +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;