Guide

Start Building Your App

How to add new Screen

  • Create a new folder, say NewScreen and place in under `/src/screens/.
  • Create a new file NewScreen.js,whitin this folder.
  • Name the class same as that of folder name. class NewScreen extends React.Component { . . . . . . }

How to add Stylesheet

In the created new file, create style sheet with StyleSheet.create({})
1
class NewScreen extends React.Component {
2
. . .
3
. . .
4
}
5
StyleSheet.create({
6
. . .
7
. . .
8
})
Copied!
Last modified 2yr ago