Skip to content

Commit 9bc8e80

Browse files
authored
feat: Add RcFile type from Ant Design Upload (#325)
* feat: Add RcFile type from Ant Design Upload * refactor: Apply eslint fix * Refactor Upload component import paths * refactor: Apply eslint fix * Fix RcFile export formatting in index.tsx
1 parent 03da3d2 commit 9bc8e80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Upload/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Upload as AntdUpload, UploadProps as AntdUploadProps } from 'antd';
2+
import { RcFile as AntdRcFile } from 'antd/es/upload';
23
import { UploadFile as AntdUploadFile } from 'antd/lib/upload/interface';
34

45
export const Upload: typeof AntdUpload = AntdUpload;
56
export type UploadProps = AntdUploadProps;
67
export type UploadFile = AntdUploadFile;
8+
export type RcFile = AntdRcFile;

0 commit comments

Comments
 (0)