props.ts 679 B

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