class App extends Component written time auto text joint app.js code example Example: react component example const element = <div />;