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;