antd-mobile
Version:
基于 React 的移动设计规范实现
18 lines (17 loc) • 491 B
TypeScript
import React from 'react';
import CarouselProps from './CarouselPropTypes';
export default class Carousel extends React.Component<CarouselProps, any> {
static defaultProps: {
prefixCls: string;
dots: boolean;
arrows: boolean;
autoplay: boolean;
infinite: boolean;
edgeEasing: string;
cellAlign: string;
selectedIndex: number;
};
constructor(props: any);
onChange(index: any): void;
render(): JSX.Element;
}