props.ts 509 B

123456789101112131415161718192021222324
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. export type ClRatePassThrough = {
  4. className?: string;
  5. item?: PassThroughProps;
  6. icon?: ClIconProps;
  7. score?: PassThroughProps;
  8. };
  9. export type ClRateProps = {
  10. className?: string;
  11. pt?: ClRatePassThrough;
  12. modelValue?: number;
  13. max?: number;
  14. disabled?: boolean;
  15. allowHalf?: boolean;
  16. showScore?: boolean;
  17. size?: number;
  18. icon?: string;
  19. voidIcon?: string;
  20. color?: string;
  21. voidColor?: string;
  22. };