Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-upload/props.ts
2025-07-21 16:47:04 +08:00

26 lines
548 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;
};