diff --git a/attachments/03 React Essentials/App.jsx b/attachments/03 React Essentials/App.jsx index 630b1d4ad..d30082c5a 100644 --- a/attachments/03 React Essentials/App.jsx +++ b/attachments/03 React Essentials/App.jsx @@ -1,17 +1,16 @@ const reactDescriptions = ['Fundamental', 'Crucial', 'Core']; +import { CORE_CONCEPTS } from "./data.js" function genRandomInt(max) { return Math.floor(Math.random() * (max + 1)); } -function Header() { +function Header(props) { return (
- Stylized atom -

React Essentials

-

- Fundamental React concepts you will need for almost any app you are going to build! -

+ {props.title} +

{props.title}

+

{props.description}

); } @@ -19,10 +18,13 @@ function Header() { function App() { return (
-
-
+
+
+
+
+{/*

Time to get started!

-
+
*/}
); }