浏览代码

chore: upload add FileItemStatus interface export, which only exist in foundation before

pointhalo 1 年之前
父节点
当前提交
3300dcacd4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/semi-ui/upload/index.tsx

+ 2 - 0
packages/semi-ui/upload/index.tsx

@@ -27,6 +27,7 @@ import type {
     UploadAdapter,
     BeforeUploadObjectResult,
     AfterUploadResult,
+    FileItemStatus
 } from '@douyinfe/semi-foundation/upload/foundation';
 import type { ValidateStatus } from '../_base/baseComponent';
 
@@ -34,6 +35,7 @@ const prefixCls = cssClasses.PREFIX;
 
 export type {
     FileItem,
+    FileItemStatus,
     RenderFileItemProps,
     UploadListType,
     PromptPositionType,