props.ts 405 B

12345678910111213141516171819
  1. import type { PassThroughProps } from "../../types";
  2. export type ClSwitchPassThrough = {
  3. className?: string;
  4. track?: PassThroughProps;
  5. thumb?: PassThroughProps;
  6. label?: PassThroughProps;
  7. loading?: PassThroughProps;
  8. };
  9. export type ClSwitchProps = {
  10. className?: string;
  11. pt?: ClSwitchPassThrough;
  12. modelValue?: boolean;
  13. disabled?: boolean;
  14. loading?: boolean;
  15. height?: number;
  16. width?: number;
  17. };