Skip to content

Commit 901b97d

Browse files
committed
Merge branch 'develop'
2 parents ec3ea4b + 439ac4d commit 901b97d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Carousel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ const Carousel = React.forwardRef<ICarouselInstance, TCarouselProps<any>>(
199199
style={[
200200
styles.container,
201201
{ width: width || '100%', height: height || '100%' },
202+
style,
202203
]}
203204
>
204205
<ScrollViewGesture

src/ScrollViewGesture.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const IScrollViewGesture: React.FC<Props> = (props) => {
3939
const {
4040
props: {
4141
vertical,
42-
style,
4342
data,
4443
pagingEnabled,
4544
snapEnabled,
@@ -274,7 +273,7 @@ const IScrollViewGesture: React.FC<Props> = (props) => {
274273

275274
return (
276275
<Animated.View
277-
style={[styles.container, directionStyle, style]}
276+
style={[styles.container, directionStyle]}
278277
onTouchStart={onTouchBegin}
279278
onTouchEnd={onTouchEnd}
280279
>

0 commit comments

Comments
 (0)