diff options
Diffstat (limited to 'react/04-components/src/App.jsx')
| -rw-r--r-- | react/04-components/src/App.jsx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/react/04-components/src/App.jsx b/react/04-components/src/App.jsx new file mode 100644 index 0000000..5459c80 --- /dev/null +++ b/react/04-components/src/App.jsx @@ -0,0 +1,20 @@ +import Navbar from "./components/Navbar"; +import MyOtherComponent from "./components/MyOtherComponent"; + +function App() { + return ( + <> + <Navbar /> + + <MyOtherComponent title="Component 1 title"> + This is component 1 description. + </MyOtherComponent> + + <MyOtherComponent title="Component 2 title"> + This is component 2 description. + </MyOtherComponent> + </> + ) +} + +export default App |
