/*import * as React from 'react';
import {View, Text, Image, Button} from 'react-native';

import tate2 from '@assets/tate.jpg';
import {useNavigation} from '@react-navigation/native';
import {NativeStackNavigationProp} from '@react-navigation/native-stack';

export type RootScreenNavigationProp =
  NativeStackNavigationProp<RootStackNavigatorParamList>;

function WelcomeScreen() {
  const navigation = useNavigation<RootScreen>();

  return (
    <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
      <Image source={tate2} />
      <Text style={{ color: "#000" }} onPress={() => navigation.navigate('test')}>WelcomeScreen</Text>

      <Button title='test' />
    </View>
  );
}

export default WelcomeScreen;*/
