Skip to content

Commit c8822c9

Browse files
committed
chore: fix typing on BottomSheetFooter
1 parent 12fba6e commit c8822c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/bottomSheetFooter/BottomSheetFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function BottomSheetFooterComponent({
5757

5858
return children !== null ? (
5959
<Animated.View onLayout={handleContainerLayout} style={containerStyle}>
60-
{children}
60+
{typeof children === 'function' ? children() : children}
6161
</Animated.View>
6262
) : null;
6363
}

0 commit comments

Comments
 (0)