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({})

class NewScreen extends React.Component {
. . .
. . .
}
StyleSheet.create({
. . .
. . . 
})

Last updated