props.ts 452 B

1234567891011121314151617181920
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. export type ClCheckboxPassThrough = {
  4. className?: string;
  5. icon?: ClIconProps;
  6. label?: PassThroughProps;
  7. };
  8. export type ClCheckboxProps = {
  9. className?: string;
  10. pt?: ClCheckboxPassThrough;
  11. modelValue?: any[] | boolean;
  12. label?: string;
  13. value: any;
  14. disabled?: boolean;
  15. activeIcon?: string;
  16. inactiveIcon?: string;
  17. showIcon?: boolean;
  18. };