props.ts 552 B

12345678910111213141516171819202122232425
  1. import type { PassThroughProps } from "../../types";
  2. export type ClBannerPassThrough = {
  3. className?: string;
  4. item?: PassThroughProps;
  5. itemActive?: PassThroughProps;
  6. image?: PassThroughProps;
  7. dots?: PassThroughProps;
  8. dot?: PassThroughProps;
  9. dotActive?: PassThroughProps;
  10. };
  11. export type ClBannerProps = {
  12. className?: string;
  13. pt?: ClBannerPassThrough;
  14. list?: string[];
  15. previousMargin?: number;
  16. nextMargin?: number;
  17. autoplay?: boolean;
  18. interval?: number;
  19. showDots?: boolean;
  20. disableTouch?: boolean;
  21. height?: any;
  22. imageMode?: string;
  23. };