Guide
Start Building Your App
Contents discussed in this section:
Note: Project is based on functional components .
How to add new Screen
Create a new folder, say
NewScreenand place in under/src/screens/.Create a new file
NewScreen.js,whitin this folder.Name the function name as that of folder name.
function NewScreen() { . . . . . . }
How to add new Stylesheet
Create a new file styles.js, place it under /src/screens/NewScreen.
import newly created StyleSheet into the Component.
import styles from './styles';
function NewScreen() {
. . .
. . .
}
Last updated
Was this helpful?