import component in react js and use in app.js code example Example: import react import React, { Component } from 'react';