props.ts 414 B

12345678910111213141516171819
  1. import type { PassThroughProps } from "../../types";
  2. export type ClMarqueePassThrough = {
  3. className?: string;
  4. list?: PassThroughProps;
  5. item?: PassThroughProps;
  6. image?: PassThroughProps;
  7. };
  8. export type ClMarqueeProps = {
  9. className?: string;
  10. pt?: ClMarqueePassThrough;
  11. list?: string[];
  12. direction?: "horizontal" | "vertical";
  13. duration?: number;
  14. itemHeight?: number;
  15. itemWidth?: number;
  16. gap?: number;
  17. };