Skip to content

Commit 62340ba

Browse files
authored
Merge pull request #1 from AppAndFlow/feature/exposed-padding-prop
fix(padding): exposed padding props
2 parents 0ed3ece + 351386b commit 62340ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Provider.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ export default function SmartScrollView(props: PropsWithChildren<{}>) {
5757
export function ScrollView(
5858
props: PropsWithChildren<{
5959
scollViewProps?: AnimatedScrollViewProps;
60+
additionalPadding?: number;
6061
}>
6162
) {
6263
const { scrollHandler, scrollRef, baseScrollViewProps, translateStyle } =
63-
useFormSmartScroll();
64+
useFormSmartScroll({ padding: props?.additionalPadding });
6465

6566
return (
6667
<Animated.ScrollView

0 commit comments

Comments
 (0)