mancala/mobile/src/screens/GameScreen.tsx

17 lines
TypeScript
Raw Normal View History

2024-03-24 14:23:08 +03:00
import * as React from 'react';
import { View, Button, Text } from 'react-native';
2024-03-24 14:23:08 +03:00
import { useTranslation } from 'react-i18next';
import { GameScreenProps } from '../types';
export function GameScreen({ navigation, route }: GameScreenProps) {
const { context, gameId } = route.params;
2024-03-24 14:23:08 +03:00
const { t } = useTranslation();
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>{gameId}</Text>
2024-03-24 14:23:08 +03:00
</View>
);
}