Skip to content

Commit 4c28ea2

Browse files
committed
rename app to global
1 parent 8a7ef87 commit 4c28ea2

File tree

6 files changed

+17
-8216
lines changed

6 files changed

+17
-8216
lines changed

app/components/Global.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React, { Component } from 'react';
2+
3+
class Global extends Component {
4+
render() {
5+
return (
6+
<div>The Global App Component</div>
7+
)
8+
}
9+
}
10+
11+
export default Global;

app/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3+
import Global from './components/Global';
34

45
ReactDOM.render(
5-
<div>React Application!</div>, document.getElementById('root')
6+
<Global />, document.getElementById('root')
67
);

0 commit comments

Comments
 (0)