Start Building Your App

This section guides you through building your app, providing the steps and procedure to customize.

Contents discussed in this section:

How to add a new component

  • Create a new folder, say newComponent and place it under /js/src .
  • Create a new file index.js , within this folder.
  • Name the class same as the folder.
class NewComponent extends Component {
    ...
}

How to add new StyleSheet

Create a new file styles.js and place it under /js/src/newComponent.

import the newly created StyleSheet into the Component.

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

results matching ""

    No results matching ""