props.ts 665 B

123456789101112131415161718192021222324252627
  1. import type { ClTabbarItem, PassThroughProps } from "../../types";
  2. import type { ClTextProps } from "../cl-text/props";
  3. import type { ClImageProps } from "../cl-image/props";
  4. export type ClTabbarPassThrough = {
  5. className?: string;
  6. item?: PassThroughProps;
  7. icon?: ClImageProps;
  8. text?: ClTextProps;
  9. footer?: PassThroughProps;
  10. footerContent?: PassThroughProps;
  11. };
  12. export type ClTabbarProps = {
  13. className?: string;
  14. modelValue?: string;
  15. pt?: ClTabbarPassThrough;
  16. list?: ClTabbarItem[];
  17. height?: number;
  18. backgroundColor?: string;
  19. color?: string;
  20. selectedColor?: string;
  21. iconSize?: number;
  22. textSize?: number;
  23. showIcon?: boolean;
  24. showText?: boolean;
  25. };