props.ts 565 B

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