import { useTheme } from '@react-navigation/native'; import { Animated, Platform, type StyleProp, StyleSheet, type TextProps, type TextStyle, } from 'react-native'; type Props = Omit & { tintColor?: string; children?: string; style?: Animated.WithAnimatedValue>; }; export function HeaderTitle({ tintColor, style, ...rest }: Props) { const { colors, fonts } = useTheme(); return ( ); } const styles = StyleSheet.create({ title: Platform.select({ ios: { fontSize: 17, }, android: { fontSize: 20, }, default: { fontSize: 18, }, }), });