Skip to content

Commit 2540233

Browse files
authored
Add App.js component to client/src for React application structure
- Created App.js in client/src as the main application component for the React app. - Defines a basic functional component that renders a "Hello, World!" message. - Supports the main entry point (index.js) by providing a component to render to the DOM. This addition completes the basic structure required for the React application to build successfully.
1 parent 48d8937 commit 2540233

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

client/src/App.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
3+
function App() {
4+
return (
5+
<div className="App">
6+
<h1>Hello, World!</h1>
7+
</div>
8+
);
9+
}
10+
11+
export default App;

0 commit comments

Comments
 (0)