From 439ac4d622f720cba287aa264573517218a365d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=9D=B1=E6=BE=94?= Date: Mon, 2 May 2022 13:41:09 +0800 Subject: [PATCH] fix: fix styles prop bug --- src/Carousel.tsx | 1 + src/ScrollViewGesture.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Carousel.tsx b/src/Carousel.tsx index 956bb24c..fce51a57 100644 --- a/src/Carousel.tsx +++ b/src/Carousel.tsx @@ -199,6 +199,7 @@ const Carousel = React.forwardRef>( style={[ styles.container, { width: width || '100%', height: height || '100%' }, + style, ]} > = (props) => { const { props: { vertical, - style, data, pagingEnabled, snapEnabled, @@ -274,7 +273,7 @@ const IScrollViewGesture: React.FC = (props) => { return (