props.ts 650 B

123456789101112131415161718192021222324252627
  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. inner?: PassThroughProps;
  7. label?: PassThroughProps;
  8. content?: PassThroughProps;
  9. icon?: ClIconProps;
  10. image?: ClImageProps;
  11. collapse?: PassThroughProps;
  12. };
  13. export type ClListItemProps = {
  14. className?: string;
  15. pt?: ClListItemPassThrough;
  16. icon?: string;
  17. image?: string;
  18. label?: string;
  19. justify?: Justify;
  20. arrow?: boolean;
  21. swipeable?: boolean;
  22. hoverable?: boolean;
  23. disabled?: boolean;
  24. collapse?: boolean;
  25. };