From ecd2181818b06441edd1d55aebb4c826c06989e2 Mon Sep 17 00:00:00 2001 From: huhuanming Date: Mon, 27 Mar 2017 23:13:52 +0800 Subject: [PATCH] Add hegiht && paginationStyle --- types/react-native-swiper/index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/react-native-swiper/index.d.ts b/types/react-native-swiper/index.d.ts index f41a771caf..3ac3be55c3 100644 --- a/types/react-native-swiper/index.d.ts +++ b/types/react-native-swiper/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for react-native-swiper 1.5 // Project: https://github.com/leecade/react-native-swiper#readme -// Definitions by: CaiHuan +// Definitions by: CaiHuan , HuHuanming // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -58,6 +58,12 @@ interface SwiperProperties extends React.Props { dotColor?: string; activeDotColor?: string; + + height?: number; + + width?: number; + + paginationStyle?: ViewStyle; } export default class Swiper extends React.Component {