Skip to content

Commit 5407edc

Browse files
committed
#1720 fix type error
1 parent 2c05e4d commit 5407edc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

client/packages/lowcoder/src/comps/comps/fileComp/draggerUpload.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import { hasIcon } from "comps/utils";
1515
import { messageInstance } from "lowcoder-design/src/components/GlobalInstances";
1616
import { resolveValue, resolveParsedValue, commonProps } from "./fileComp";
17-
import { FileStyleType } from "comps/controls/styleControlConstants";
17+
import { FileStyleType, AnimationStyleType } from "comps/controls/styleControlConstants";
1818

1919
const IconWrapper = styled.span`
2020
display: flex;
@@ -71,8 +71,9 @@ interface DraggerUploadProps {
7171
fileType: string[];
7272
showUploadList: boolean;
7373
disabled: boolean;
74-
onEvent: (eventName: string) => void;
74+
onEvent: (eventName: string) => Promise<unknown[]>;
7575
style: FileStyleType;
76+
animationStyle: AnimationStyleType;
7677
parseFiles: boolean;
7778
parsedValue: Array<any>;
7879
prefixIcon: any;

0 commit comments

Comments
 (0)