Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-checkbox/props.ts
2025-10-27 10:00:50 +08:00

21 lines
453 B
TypeScript

import type { PassThroughProps } from "../../types";
import type { ClIconProps } from "../cl-icon/props";
export type ClCheckboxPassThrough = {
className?: string;
icon?: ClIconProps;
label?: PassThroughProps;
};
export type ClCheckboxProps = {
className?: string;
pt?: ClCheckboxPassThrough;
modelValue?: any[] | boolean;
label?: string;
value?: any;
disabled?: boolean;
activeIcon?: string;
inactiveIcon?: string;
showIcon?: boolean;
};