props.ts 633 B

12345678910111213141516171819202122232425262728
  1. import type { PassThroughProps } from "../../types";
  2. export type ClSlideVerifyPassThrough = {
  3. className?: string;
  4. track?: PassThroughProps;
  5. image?: PassThroughProps;
  6. progress?: PassThroughProps;
  7. slider?: PassThroughProps;
  8. icon?: PassThroughProps;
  9. text?: PassThroughProps;
  10. label?: PassThroughProps;
  11. };
  12. export type ClSlideVerifyProps = {
  13. className?: string;
  14. pt?: ClSlideVerifyPassThrough;
  15. modelValue?: boolean;
  16. mode?: "slide" | "image";
  17. size?: number;
  18. disabled?: boolean;
  19. imageUrl?: string;
  20. imageSize?: any;
  21. angleThreshold?: number;
  22. text?: string;
  23. successText?: string;
  24. showFail?: boolean;
  25. failText?: string;
  26. };