File tree 8 files changed +28
-6675
lines changed
8 files changed +28
-6675
lines changed Original file line number Diff line number Diff line change
1
+ # EditorConfig is awesome: http://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # Unix-style newlines with a newline ending every file
7
+ [* ]
8
+ charset = utf-8
9
+ end_of_line = lf
10
+ insert_final_newline = true
11
+
12
+ # Matches multiple files with brace expansion notation
13
+ # Set default charset
14
+ [* .{js,json} ]
15
+ indent_size = 2
16
+ indent_style = space
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ "extends" : "react-app"
3
+ } ;
Original file line number Diff line number Diff line change 19
19
npm-debug.log *
20
20
yarn-debug.log *
21
21
yarn-error.log *
22
+
23
+ yarn.lock
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
- import logo from './logo.svg' ;
3
- import './App.css' ;
4
2
5
3
class App extends Component {
6
4
render ( ) {
7
5
return (
8
- < div className = "App" >
9
- < header className = "App-header" >
10
- < img src = { logo } className = "App-logo" alt = "logo" />
11
- < h1 className = "App-title" > Welcome to React</ h1 >
12
- </ header >
13
- < p className = "App-intro" >
14
- To get started, edit < code > src/App.js</ code > and save to reload.
15
- </ p >
6
+ < div >
7
+ < h1 > Chat</ h1 >
16
8
</ div >
17
9
) ;
18
10
}
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ import './index.css';
4
4
import App from './App' ;
5
5
import registerServiceWorker from './registerServiceWorker' ;
6
6
7
- ReactDOM . render ( < App /> , document . getElementById ( 'root' ) ) ;
7
+ ReactDOM . render (
8
+ < App /> ,
9
+ document . getElementById ( 'root' )
10
+ ) ;
11
+
8
12
registerServiceWorker ( ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments