Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-rate/props.ts

25 lines
509 B
TypeScript
Raw Normal View History

2025-07-21 16:47:04 +08:00
import type { PassThroughProps } from "../../types";
import type { ClIconProps } from "../cl-icon/props";
export type ClRatePassThrough = {
className?: string;
item?: PassThroughProps;
icon?: ClIconProps;
score?: PassThroughProps;
};
export type ClRateProps = {
className?: string;
pt?: ClRatePassThrough;
modelValue?: number;
max?: number;
disabled?: boolean;
allowHalf?: boolean;
showScore?: boolean;
size?: number;
icon?: string;
voidIcon?: string;
color?: string;
voidColor?: string;
};