Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-upload/props.ts
2025-08-06 18:14:11 +08:00

27 lines
565 B
TypeScript

import type { ClUploadItem, PassThroughProps } from "../../types";
export type ClUploadPassThrough = {
className?: string;
item?: PassThroughProps;
add?: PassThroughProps;
image?: PassThroughProps;
icon?: PassThroughProps;
text?: PassThroughProps;
};
export type ClUploadProps = {
className?: string;
pt?: ClUploadPassThrough;
modelValue?: string[] | string;
icon?: string;
text?: string;
sizeType?: string[] | string;
sourceType?: string[];
height?: any;
width?: any;
multiple?: boolean;
limit?: number;
disabled?: boolean;
test?: boolean;
};