Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-banner/props.ts
2025-07-21 16:47:04 +08:00

25 lines
531 B
TypeScript

import type { PassThroughProps } from "../../types";
export type ClBannerPassThrough = {
className?: string;
item?: PassThroughProps;
itemActive?: PassThroughProps;
image?: PassThroughProps;
dots?: PassThroughProps;
dot?: PassThroughProps;
dotActive?: PassThroughProps;
};
export type ClBannerProps = {
className?: string;
pt?: ClBannerPassThrough;
list?: string[];
previousMargin?: number;
nextMargin?: number;
autoplay?: boolean;
interval?: number;
showDots?: boolean;
disableTouch?: boolean;
height?: any;
};