Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Contents discussed in this section:
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 {
. . .
. . .
}
Create a new file styles.js
, place it under /src/screens/NewScreen
.
import
newly created StyleSheet into the Component.
import styles from './styles';
class NewScreen extends React.Component {
. . .
. . .
}