Ver Fonte

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

pointhalo há 1 ano atrás
pai
commit
3300dcacd4
1 ficheiros alterados com 2 adições e 0 exclusões
  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,