Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

stack navigator

npx expo install @react-navigation/stack
Comment

stack navigator

npm install --save react-navigation
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
npm install --save react-navigation-stack
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
Comment

stack navigator navigate

function HomeScreen({ navigation: { navigate } }) {
  return (
    <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
      <Text>This is the home screen of the app</Text>
      <Button
        onPress={() =>
          navigate('Profile', { names: ['Brent', 'Satya', 'Michaś'] })
        }
        title="Go to Brent's profile"
      />
    </View>
  );
}
Comment

PREVIOUS NEXT
Code Example
Shell :: git merge origin/master into branch 
Shell :: how to fork from github to bitbucket 
Shell :: ssh kali linux command 
Shell :: anaconda for ubuntu 20.04 
Shell :: how to check open vpn on ubuntu 
Shell :: install neovim 7 in ubuntu 
Shell :: vim yank line 
Shell :: know committed files by author 
Shell :: terminal trash folder 
Shell :: expo uninstall package 
Shell :: https://repo.packagist.org could not be fully loaded 
Shell :: sed from match to other match 
Shell :: composer install ubuntu 
Shell :: am i ~/.zshrc or ~/.bashrc 
Shell :: install ntfs support debian 
Shell :: docker format 
Shell :: jekyll new site 
Shell :: install owlready2 
Shell :: pull from dev branch to master 
Shell :: zsh mac vi 
Shell :: git merge local branch 
Shell :: git change author multiple commits 
Shell :: conda install pdftotext 
Shell :: git config pull with prune 
Shell :: pi disable ssh warning 
Shell :: deploy github actions with firebase 
Shell :: command line make file 
Shell :: CMake: unsupported GNU version -- gcc versions later than 8 are not supported 
Shell :: copy data from one branch to another in git 
Shell :: linux change user shell /bin/false 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =