From 3626fe0a9cc69fa68a3f1cad8c550688e43f9fa1 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Tue, 27 Oct 2020 16:19:27 -0600 Subject: [PATCH] Done. --- src/App.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index b0ec39e3..94a6ef19 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import moment from 'moment'; import ExampleComponent from './ExampleComponent' + import TestComponent from './TestComponent' // Add your code own within the return statement @@ -11,7 +12,8 @@ class App extends Component { return (
- {moment().format('MMMM Do YYYY, hh:mm:ss a')} + {/* {moment().format('MMMM Do YYYY, hh:mm:ss a')} */} +

Now

In React apps, we write JSX - it looks like HTML, and uses a lot of HTML syntax. @@ -19,6 +21,7 @@ class App extends Component { allows us to add in components, which are separate, self-contained chunks of JSX.

+
);