From 8560238efb4bc32a2b352eb3ffaa1ada92df8cd0 Mon Sep 17 00:00:00 2001 From: Liangyu Date: Thu, 4 May 2017 18:09:46 +0800 Subject: [PATCH] Upgrade for react-native v0.44.0 --- components/Carousel/Carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Carousel/Carousel.js b/components/Carousel/Carousel.js index 9340ffe..31c45aa 100644 --- a/components/Carousel/Carousel.js +++ b/components/Carousel/Carousel.js @@ -229,7 +229,7 @@ export default class Carousel extends Component { } render() { - let {style, children, horizontal, contentContainerStyle, control, onScroll, onLayout, ...others} = this.props; + let {style, children, horizontal, contentContainerStyle, control, onScroll, onLayout, direction, ...others} = this.props; let {width, height, pageIndex} = this.state; if (width > 0 && height > 0) { let fixStyle;