props.ts 462 B

12345678910111213141516171819202122
  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. trackHeight?: number;
  19. showValue?: boolean;
  20. };