From 270369930e5141e65d4e8a1f7443a35c5441065b Mon Sep 17 00:00:00 2001 From: bradleat Date: Thu, 7 Jun 2018 14:55:44 -0700 Subject: [PATCH] inverted support see: https://github.com/archriss/react-native-snap-carousel/issues/197 they forgot to document it, but it works --- types/react-native-snap-carousel/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-native-snap-carousel/index.d.ts b/types/react-native-snap-carousel/index.d.ts index 5b5406f6fa..56b083638b 100644 --- a/types/react-native-snap-carousel/index.d.ts +++ b/types/react-native-snap-carousel/index.d.ts @@ -45,6 +45,10 @@ export interface CarouselProps extends React.Props { * Width in pixels of your slides, must be the same for all of them * Note: Required with horizontal carousel */ + /** + * Reverses the direction of scroll. Uses scale transforms of -1. + */ + inverted?: boolean; itemWidth?: number; /** * Height in pixels of carousel's items, must be the same for all of them