antd-mobile
Version:
基于 React 的移动设计规范实现
21 lines (20 loc) • 569 B
TypeScript
/// <reference types="react" />
import React from 'react';
import CarouselProps from './PropsType';
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;
dotStyle: {};
dotActiveStyle: {};
};
constructor(props: any);
onChange: (index: any) => void;
render(): JSX.Element;
}