diff --git a/src/components/App.js b/src/components/App.js index e0f227ac3..c4fb05506 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,21 +1,23 @@ import React from "react"; -import { format } from "date-fns"; import ExampleComponent from "./ExampleComponent"; +import TestComponent from "./TestComponent"; -// Add your code own within the return statement function App() { return (
-

{format(new Date(), "MMMM do yyyy, h:mm:ss a")}

+

Now

+

In React apps, we write JSX - it looks like HTML, and uses a lot of HTML syntax. JSX lets us include JavaScript functions right along with the HTML, and also allows us to add in components, which are separate, self-contained chunks of JSX.

+ +
); } -export default App; +export default App; \ No newline at end of file