import React from 'react'; import { SwiperProps, SwiperItemProps } from 'remax/wechat'; import 'swiper/swiper.less'; import 'swiper/modules/pagination/pagination.less'; export interface Props extends Omit { items: (SwiperItemProps & { node: React.ReactNode; })[]; /** * 显示指示器,默认是点状,可以设置为线状 */ indicatorDots?: boolean | 'line' | 'line-round'; /** * 线状指示器类名 */ lineDotsCls?: string; roundDotCls?: string; roundDotActiveCls?: string; centeredSlides?: boolean; spaceBetween?: number; displayMultipleItems?: number; /** * 非当前项的缩放比例,开启后会自动包裹一层 div 进行缩放 */ inactiveScale?: number; } declare const _default: ({ items, className, style, autoplay, interval, indicatorDots, onChange, displayMultipleItems, current, lineDotsCls, circular, vertical, roundDotCls, roundDotActiveCls, centeredSlides, spaceBetween, inactiveScale, }: Props) => React.JSX.Element; export default _default;