mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #26362 from bradleat/patch-1
react-native-snap-carousel: add inverted (optional boolean) support
This commit is contained in:
+4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user