From d86db1723ee986e0eaf3e9a616b2640ffbb57ce3 Mon Sep 17 00:00:00 2001 From: Adriano Skroch Date: Fri, 10 Sep 2021 10:54:17 -0500 Subject: [PATCH 1/2] add missing type to type definition file --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 10560a16..fddeef06 100644 --- a/index.d.ts +++ b/index.d.ts @@ -49,6 +49,8 @@ declare module 'react-native-swiper' { height?: number // See default style in source. style?: StyleProp + // Customize the ScrollView style + scrollViewStyle?: StyleProp, // Customize the View container. containerStyle?: StyleProp // Only load current index slide , loadMinimalSize slides before and after. From b2c4e7a30e83abf2b45cec36ff7a126e7992aaef Mon Sep 17 00:00:00 2001 From: Adriano Skroch Date: Fri, 10 Sep 2021 11:21:26 -0500 Subject: [PATCH 2/2] remove comma --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index fddeef06..8efc6287 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,7 +50,7 @@ declare module 'react-native-swiper' { // See default style in source. style?: StyleProp // Customize the ScrollView style - scrollViewStyle?: StyleProp, + scrollViewStyle?: StyleProp // Customize the View container. containerStyle?: StyleProp // Only load current index slide , loadMinimalSize slides before and after.