import { Text } from '@/components/ui/text'; import { useColor } from '@/hooks/useColor'; import { useColorScheme } from '@/hooks/useColorScheme'; import { SearchProvider, useSearch } from '@/providers/search-context'; import { isLiquidGlassAvailable } from 'expo-glass-effect'; import { Stack } from 'expo-router'; import { Platform } from 'react-native'; function SearchLayoutContent() { const theme = useColorScheme(); const text = useColor('text'); const background = useColor('background'); const { setSearchText } = useSearch(); return ( Platform.OS === 'android' ? ( Search ) : undefined, headerSearchBarOptions: { placement: 'automatic', placeholder: 'Search', onChangeText: (event) => { setSearchText(event.nativeEvent.text); }, }, }} /> ); } export default function SearchLayout() { return ( ); }