Start Building Your App

This App guides you throughout building your app, providing the steps and procedure to customize.

Contents discussed in this section:

How to add new component

  • Create a new folder, say newComponent and place it under /src/screens/ .
  • Create a new fileindex.tsx , within a new folder.
  • Name the class same as that of folder name.
class NewComponent extends Component {
    ...
}

How to add new styleSheet

Create a new file styles.tsx , place it under /src/screens/newComponent.

import newly created StyleSheet into the Component.

import styles from './styles';
class NewComponent extends Component {
    ...
}

results matching ""

    No results matching ""