Skip to content

Commit 4cc007d

Browse files
committed
fix(typo): fix typo with scrollViewProps
1 parent e9e90c0 commit 4cc007d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

example/src/third-party/gorhom-bottom-sheet/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Example = () => {
4848
>
4949
<BottomSheetView style={[styles.contentContainer]}>
5050
<MagicScroll.ScrollView
51-
scollViewProps={{
51+
scrollViewProps={{
5252
contentContainerStyle: {
5353
paddingHorizontal: 16,
5454
paddingBottom: insets.bottom + 20,

src/Provider.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function SmartScrollView(props: PropsWithChildren<{}>) {
7979

8080
function InsideScrollView(
8181
props: PropsWithChildren<{
82-
scollViewProps?: AnimatedScrollViewProps;
82+
scrollViewProps?: AnimatedScrollViewProps;
8383
additionalPadding?: number;
8484
}>
8585
) {
@@ -91,15 +91,15 @@ function InsideScrollView(
9191
<Animated.ScrollView
9292
ref={scrollRef}
9393
{...baseScrollViewProps}
94-
{...props.scollViewProps}
94+
{...props.scrollViewProps}
9595
>
9696
<Animated.View style={translateStyle}>{props.children}</Animated.View>
9797
</Animated.ScrollView>
9898
);
9999
}
100100
export const ScrollView = (
101101
props: PropsWithChildren<{
102-
scollViewProps?: AnimatedScrollViewProps;
102+
scrollViewProps?: AnimatedScrollViewProps;
103103
additionalPadding?: number;
104104
}>
105105
) => {

0 commit comments

Comments
 (0)