props.ts 727 B

1234567891011121314151617181920212223242526272829
  1. import type { Justify, PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. import type { ClImageProps } from "../cl-image/props";
  4. import type { ClTextProps } from "../cl-text/props";
  5. export type ClListItemPassThrough = {
  6. className?: string;
  7. wrapper?: PassThroughProps;
  8. inner?: PassThroughProps;
  9. label?: ClTextProps;
  10. content?: PassThroughProps;
  11. icon?: ClIconProps;
  12. image?: ClImageProps;
  13. collapse?: PassThroughProps;
  14. };
  15. export type ClListItemProps = {
  16. className?: string;
  17. pt?: ClListItemPassThrough;
  18. icon?: string;
  19. image?: string;
  20. label?: string;
  21. justify?: Justify;
  22. arrow?: boolean;
  23. swipeable?: boolean;
  24. hoverable?: boolean;
  25. disabled?: boolean;
  26. collapse?: boolean;
  27. };