import React, { FC } from 'react'; export type ICarousel = { /** 轮播图的宽度 */ width?: number | string; /** 轮播图的高度 */ height?: number | string; /** 是否开启自动播放 */ autoplay?: boolean; /** 点击切换下一张 */ clickAble?: boolean; /** 自动播放每帧的时间间隔(毫秒) */ playInterval?: number; /** 轮播结束是否从头开始 */ rewind?: boolean; /** 图片轮播的快捷属性,默认填充满组件,已传入的高宽为准,如果想进行更细粒度的控制,请使用children */ imgs?: string[]; /** 提示点的位置 */ indicatorPosition?: 'top' | 'right' | 'bottom' | 'left'; /** 悬停在组件上暂停轮播 */ hoverPause?: boolean; /** 走马灯动画方向 */ direction?: 'vertical' | 'horizontal'; children: React.ReactNodeArray; className?: string; style?: React.CSSProperties; }; declare const Carousel: FC; export { Carousel };