-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.d.ts
31 lines (27 loc) · 887 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Type definitions for react-native-modal-dropdown 0.6
// Project: https://github.com/sohobloo/react-native-modal-dropdown
// Definitions by: Carlos Li <https://github.com/echoulen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
import Swiper = RNSwiper.Swiper;
export = Swiper;
declare namespace RNSwiper {
interface SwiperProps {
swipeData?: Array<any>;
style?: StyleSheet;
backgroundColor?: String;
containerWidth?: Number;
currentSelectIndex?: Number;
leftButtonImage?: any;
rightButtonImage?: any;
showSwipeBtn?: Boolean;
autoplay?: Boolean;
autoplayTimeout?: Number;
renderSwipeItem?: (item: any) => void;
onScreenChange?: (index: Number) => void;
}
class Swiper extends React.Component<SwiperProps> {
static default: typeof Swiper;
}
}