props.ts 439 B

123456789101112131415161718192021
  1. import type { PassThroughProps } from "../../types";
  2. export type ClSliderPassThrough = {
  3. className?: string;
  4. track?: PassThroughProps;
  5. progress?: PassThroughProps;
  6. thumb?: PassThroughProps;
  7. value?: PassThroughProps;
  8. };
  9. export type ClSliderProps = {
  10. className?: string;
  11. pt?: ClSliderPassThrough;
  12. modelValue?: number;
  13. min?: number;
  14. max?: number;
  15. step?: number;
  16. disabled?: boolean;
  17. blockSize?: number;
  18. showValue?: boolean;
  19. };