UNPKG

artwork-react-native

Version:

artwork design master for react-native

31 lines (30 loc) 998 B
/// <reference types="react" /> import React from 'react'; import { CarouselProps as BasePropsType } from './PropsType'; export interface CarouselProps extends BasePropsType { bounces?: boolean; onScrollBeginDrag?: Function; onMomentumScrollEnd?: Function; styles?: any; } export default class Carousel extends React.Component<CarouselProps, any> { private scrollviewRef; private autoplayTimer; private androidScrollEndTimer; private scrollEndTimter; static defaultProps: CarouselProps; 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; }