From 7887d463796f4b3ae53d98944d1c43287a821116 Mon Sep 17 00:00:00 2001 From: Liam Simmons Date: Fri, 7 Jun 2024 11:30:07 -0400 Subject: [PATCH] Import TestComponent to app.js --- src/components/App.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index e0f227ac3..08f0e6eee 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,12 +1,13 @@ import React from "react"; -import { format } from "date-fns"; +// 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 @@ -14,6 +15,7 @@ function App() { self-contained chunks of JSX.

+
); }