Files

29 lines
633 B
TypeScript
Raw Permalink Normal View History

2025-11-13 10:36:23 +08:00
import type { PassThroughProps } from "../../types";
export type ClSlideVerifyPassThrough = {
className?: string;
track?: PassThroughProps;
image?: PassThroughProps;
progress?: PassThroughProps;
slider?: PassThroughProps;
icon?: PassThroughProps;
text?: PassThroughProps;
label?: PassThroughProps;
};
export type ClSlideVerifyProps = {
className?: string;
pt?: ClSlideVerifyPassThrough;
modelValue?: boolean;
mode?: "slide" | "image";
size?: number;
disabled?: boolean;
imageUrl?: string;
imageSize?: any;
angleThreshold?: number;
text?: string;
successText?: string;
showFail?: boolean;
failText?: string;
};