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

20 lines
405 B
TypeScript

import type { PassThroughProps } from "../../types";
export type ClSwitchPassThrough = {
className?: string;
track?: PassThroughProps;
thumb?: PassThroughProps;
label?: PassThroughProps;
loading?: PassThroughProps;
};
export type ClSwitchProps = {
className?: string;
pt?: ClSwitchPassThrough;
modelValue?: boolean;
disabled?: boolean;
loading?: boolean;
height?: number;
width?: number;
};