UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

25 lines (24 loc) 800 B
/// <reference types="react" /> import React from 'react'; import CarouselProps from './PropsType'; declare class Carousel extends React.Component<CarouselProps, any> { static defaultProps: CarouselProps; private autoplayTimer; private androidScrollEndTimer; private scrollEndTimter; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; loopJump: () => void; autoplay: () => void; onScrollBegin: (e: any) => void; onScrollEnd: (e: any) => void; onScrollEndDrag: (e: any) => void; updateIndex: (offset: any) => void; scrollNextPage: () => void; renderContent: (pages: any) => JSX.Element; renderDots: (index: any) => any; onLayout: (e: any) => void; render(): JSX.Element; } export default Carousel;