props.ts 435 B

12345678910111213141516171819
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClLoadingProps } from "../cl-loading/props";
  3. export type ClSwitchPassThrough = {
  4. className?: string;
  5. track?: PassThroughProps;
  6. thumb?: PassThroughProps;
  7. loading?: ClLoadingProps;
  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. };