props.ts 524 B

123456789101112131415161718192021222324
  1. import type { ClTabsItem, PassThroughProps } from "../../types";
  2. export type ClTabsPassThrough = {
  3. className?: string;
  4. text?: PassThroughProps;
  5. item?: PassThroughProps;
  6. line?: PassThroughProps;
  7. slider?: PassThroughProps;
  8. };
  9. export type ClTabsProps = {
  10. className?: string;
  11. pt?: ClTabsPassThrough;
  12. modelValue?: string | number;
  13. height?: string | number;
  14. list?: ClTabsItem[];
  15. fill?: boolean;
  16. gutter?: number;
  17. color?: string;
  18. unColor?: string;
  19. showLine?: boolean;
  20. showSlider?: boolean;
  21. disabled?: boolean;
  22. };