UNPKG

reactnativecomponents

Version:
34 lines (33 loc) 856 B
import Component from '../AbstractComponent'; import { Props } from './Props'; /** * @author 田尘殇Sean(sean.snow@live.com) * @date 2017/10/18 */ export declare class Swiper extends Component<Props> { static defaultProps: { autoPlay: boolean; duration: number; horizontal: boolean; }; state: { index: number; routes: any[]; }; autoPlayTask: any; componentWillMount(): void; componentWillReceiveProps({ children }: { children: any; }): void; componentWillUnmount(): void; updateRoute(children: any): void; autoPlay(): void; handleIndexChange(index: any): void; renderScene({ route }: { route: any; }): JSX.Element; renderPagination({ navigationState }: { navigationState: any; }): JSX.Element; render(): JSX.Element; }