forked from leecade/react-native-swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
30 lines (30 loc) · 1.07 KB
/
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
declare module "react-native-swiper" {
export interface SwiperProps {
style?: React.ViewStyle;
showsButtons?: boolean;
horizontal?: boolean;
pagingEnabled?: boolean;
showsHorizontalScrollIndicator?: boolean;
showsVerticalScrollIndicator?: boolean;
bounces?: boolean;
scrollsToTop?: boolean;
removeClippedSubviews?: boolean;
automaticallyAdjustContentInsets?: boolean;
showsPagination?: boolean;
loadMinimal?: boolean;
loadMinimalSize?: boolean;
loadMinimalLoader?: boolean;
loop?: boolean;
autoplay?: boolean;
autoplayTimeout?: boolean;
autoplayDirection?: boolean;
index?: number;
renderPagination?: (index: number, total: number, swiper: Swiper) => JSX.Element;
dotStyle?: React.ViewStyle;
activeDotStyle?: React.ViewStyle;
paginationStyle?: React.ViewStyle;
dotColor?: string;
activeDotColor?: string;
}
export default class Swiper extends React.Component<SwiperProps, any>{}
}