import { useTheme } from '@react-navigation/native'; import * as React from 'react'; import { Animated, Platform, type StyleProp, StyleSheet, type ViewProps, type ViewStyle, } from 'react-native'; type Props = Omit & { style?: Animated.WithAnimatedValue>; children?: React.ReactNode; }; export function HeaderBackground({ style, ...rest }: Props) { const { colors, dark } = useTheme(); return ( ); } const styles = StyleSheet.create({ container: { flex: 1, ...Platform.select({ android: { elevation: 4, }, ios: { shadowOpacity: 0.3, shadowRadius: 0, shadowOffset: { width: 0, height: StyleSheet.hairlineWidth, }, }, default: { borderBottomWidth: StyleSheet.hairlineWidth, }, }), }, });