props.ts 661 B

12345678910111213141516171819202122232425262728
  1. import type { ClUploadItem, PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. import type { ClTextProps } from "../cl-text/props";
  4. export type ClUploadPassThrough = {
  5. className?: string;
  6. item?: PassThroughProps;
  7. add?: PassThroughProps;
  8. image?: PassThroughProps;
  9. icon?: ClIconProps;
  10. text?: ClTextProps;
  11. };
  12. export type ClUploadProps = {
  13. className?: string;
  14. pt?: ClUploadPassThrough;
  15. modelValue?: string[] | string;
  16. icon?: string;
  17. text?: string;
  18. sizeType?: string[] | string;
  19. sourceType?: string[];
  20. height?: any;
  21. width?: any;
  22. multiple?: boolean;
  23. limit?: number;
  24. disabled?: boolean;
  25. test?: boolean;
  26. };