Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created June 29, 2022 07:16
Show Gist options
  • Save manakuro/9b9b263651f040672e35b7492b3fb23c to your computer and use it in GitHub Desktop.
Save manakuro/9b9b263651f040672e35b7492b3fb23c to your computer and use it in GitHub Desktop.
const FirstRoute = () => (
<View
style={{
flex: 1,
backgroundColor: 'rgba(0, 0, 0, 0.64)',
justifyContent: 'center',
alignItems: 'center',
}}>
<Text style={{color: 'white', fontSize: 24}}>First page</Text>
</View>
);
const SecondRoute = () => (
<View
style={{
flex: 1,
backgroundColor: 'rgba(0, 0, 0, 0.64)',
justifyContent: 'center',
alignItems: 'center',
}}>
<Text style={{color: 'white', fontSize: 24}}>Second page</Text>
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment