Browse Source

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

pointhalo 1 year ago
parent
commit
3300dcacd4
1 changed files with 2 additions and 0 deletions
  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,