diff --git a/apps/expo/src/app/(tabs)/search.tsx b/apps/expo/src/app/(tabs)/search.tsx
index 6ced355..aca0ad8 100644
--- a/apps/expo/src/app/(tabs)/search.tsx
+++ b/apps/expo/src/app/(tabs)/search.tsx
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from "react";
-import { Keyboard, ScrollView } from "react-native";
+import { Keyboard } from "react-native";
import Animated, {
Easing,
useAnimatedStyle,
@@ -7,7 +7,7 @@ import Animated, {
withTiming,
} from "react-native-reanimated";
import { useQuery } from "@tanstack/react-query";
-import { View, XStack } from "tamagui";
+import { View, ZStack } from "tamagui";
import { getMediaPoster, searchTitle } from "@movie-web/tmdb";
@@ -98,48 +98,46 @@ export default function SearchScreen() {
};
return (
-
-
-
-
-
-
- {data?.map((item, index) => (
-
-
-
- ))}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {data?.map((item, index) => (
+
+
+
+ ))}
+
+
+
+
+
+
+
+
);
}
diff --git a/apps/expo/src/components/layout/ScreenLayout.tsx b/apps/expo/src/components/layout/ScreenLayout.tsx
index d04c93c..d965878 100644
--- a/apps/expo/src/components/layout/ScreenLayout.tsx
+++ b/apps/expo/src/components/layout/ScreenLayout.tsx
@@ -5,9 +5,23 @@ import { Header } from "./Header";
interface Props {
children?: React.ReactNode;
+ onScrollBeginDrag?: () => void;
+ onMomentumScrollEnd?: () => void;
+ scrollEnabled?: boolean;
+ keyboardDismissMode?: "none" | "on-drag" | "interactive";
+ keyboardShouldPersistTaps?: "always" | "never" | "handled";
+ contentContainerStyle?: Record;
}
-export default function ScreenLayout({ children }: Props) {
+export default function ScreenLayout({
+ children,
+ onScrollBeginDrag,
+ onMomentumScrollEnd,
+ scrollEnabled,
+ keyboardDismissMode,
+ keyboardShouldPersistTaps,
+ contentContainerStyle,
+}: Props) {
return (