Skip to content

Commit f51537d

Browse files
committed
fix: prettier fix
1 parent 2d2efa0 commit f51537d

1 file changed

Lines changed: 24 additions & 21 deletions

File tree

src/components/ScreenWrapper/ScreenWrapperContainer.tsx

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -83,27 +83,30 @@ type ScreenWrapperContainerProps = React.PropsWithChildren<{
8383
isFocused?: boolean;
8484
}>;
8585

86-
function ScreenWrapperContainer({
87-
children,
88-
style,
89-
testID,
90-
bottomContent,
91-
bottomContentStyle: bottomContentStyleProp,
92-
keyboardAvoidingViewBehavior = 'padding',
93-
keyboardVerticalOffset,
94-
shouldEnableKeyboardAvoidingView = true,
95-
shouldEnableMaxHeight = false,
96-
shouldEnableMinHeight = false,
97-
shouldEnablePickerAvoiding = true,
98-
shouldDismissKeyboardBeforeClose = true,
99-
shouldAvoidScrollOnVirtualViewport = true,
100-
shouldUseCachedViewportHeight = false,
101-
shouldKeyboardOffsetBottomSafeAreaPadding: shouldKeyboardOffsetBottomSafeAreaPaddingProp,
102-
enableEdgeToEdgeBottomSafeAreaPadding,
103-
includePaddingTop = true,
104-
includeSafeAreaPaddingBottom = false,
105-
isFocused = true,
106-
}: ScreenWrapperContainerProps, ref: ForwardedRef<View>) {
86+
function ScreenWrapperContainer(
87+
{
88+
children,
89+
style,
90+
testID,
91+
bottomContent,
92+
bottomContentStyle: bottomContentStyleProp,
93+
keyboardAvoidingViewBehavior = 'padding',
94+
keyboardVerticalOffset,
95+
shouldEnableKeyboardAvoidingView = true,
96+
shouldEnableMaxHeight = false,
97+
shouldEnableMinHeight = false,
98+
shouldEnablePickerAvoiding = true,
99+
shouldDismissKeyboardBeforeClose = true,
100+
shouldAvoidScrollOnVirtualViewport = true,
101+
shouldUseCachedViewportHeight = false,
102+
shouldKeyboardOffsetBottomSafeAreaPadding: shouldKeyboardOffsetBottomSafeAreaPaddingProp,
103+
enableEdgeToEdgeBottomSafeAreaPadding,
104+
includePaddingTop = true,
105+
includeSafeAreaPaddingBottom = false,
106+
isFocused = true,
107+
}: ScreenWrapperContainerProps,
108+
ref: ForwardedRef<View>,
109+
) {
107110
const {windowHeight} = useWindowDimensions(shouldUseCachedViewportHeight);
108111
const {initialHeight} = useInitialDimensions();
109112
const styles = useThemeStyles();

0 commit comments

Comments
 (0)