import { StyleSheet, View } from 'react-native'; import { Image } from 'expo-image'; import type { NativeStackScreenProps } from '@react-navigation/native-stack'; import { TITOLO } from '../../immagini.ts'; import { Pulsante, Sfondo } from '../componenti.tsx'; import type { Schermate } from '../navigazione.ts'; import { useStato } from '../stato.tsx'; export function Home({ navigation }: NativeStackScreenProps) { const { t } = useStato(); return ( navigation.navigate('Impostazioni')} /> navigation.navigate('Regole')} /> ); } const st = StyleSheet.create({ titolo: { width: '85%', aspectRatio: 1242 / 908, alignSelf: 'center', marginTop: 24 }, spazio: { flex: 1 }, });