add react component sample code in app.js