props.ts 555 B

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