Skip to content

Commit 63557b9

Browse files
Add files via upload
0 parents  commit 63557b9

File tree

9 files changed

+6537
-0
lines changed

9 files changed

+6537
-0
lines changed

build/bundle.js

+1,194
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/components/App.jsx

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React, { Component } from 'react';
2+
import Table from './Table.jsx';
3+
4+
class App extends Component {
5+
render() {
6+
return(
7+
<div className="App">
8+
<h1>this is a react component</h1>
9+
<Table />
10+
</div>
11+
);
12+
};
13+
};
14+
15+
export default App;

client/components/Table.jsx

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React, { Component } from 'react';
2+
3+
class Table extends Component {
4+
render() {
5+
return(
6+
<div>this is table</div>
7+
)
8+
}
9+
}
10+
11+
export default Table;

client/index.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React from 'react';
2+
import { render } from 'react-dom';
3+
import App from './components/App.jsx';
4+
5+
render(
6+
<App />,
7+
document.getElementById("root")
8+
)

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Lawrence App</title>
6+
<!-- <link rel="stylesheet" href=""> -->
7+
</head>
8+
<body>
9+
<h1>App</h1>
10+
<div id="root"></div>
11+
<script src="build/bundle.js"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)