💡
Legendbae - Connect to people
  • Overview
  • Installation
    • App Setup
  • Features
  • Folder Structure
  • Walk-Through
  • Packages
  • Guide
  • Customize
Powered by GitBook
On this page

Was this helpful?

Guide

Make it your own components

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?

  • How to add new Stylesheet?

How to add new Component

  • Create a new folder, say NewComponent and place it under /src/screens/.

  • Create a new file index.js , within this folder.

  • Name the class same as that of folder name.

class NewComponent extends Component {
    . . .
    . . .
}

How to add new Stylesheet

Create a new file styles.js , place it under /src/screens/NewComponent/.

import newly created StyleSheet into the Component.

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

Last updated 4 years ago

Was this helpful?