Merge pull request #26362 from bradleat/patch-1

react-native-snap-carousel: add inverted (optional boolean) support
This commit is contained in:
Mine Starks
2018-06-11 09:53:06 -07:00
committed by GitHub
+4
View File
@@ -45,6 +45,10 @@ export interface CarouselProps<T> extends React.Props<ScrollViewProps> {
* 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