File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import React , { PureComponent } from 'react'
2
+
3
+ import JsTestComponent from 'components/JsTestComponent/JsTestComponent.jsx'
4
+ import TsTestComponent from 'components/TsTestComponent/TsTestComponent'
5
+
6
+ interface AppProps {
7
+ param1 ?: string
8
+ }
9
+
10
+ class App extends PureComponent {
11
+ render ( props : AppProps ) : string {
12
+ return (
13
+ < >
14
+ < h1 id = "app_headline" > @stackr23/webpack up and running!</ h1 >
15
+ < JsTestComponent /* testParam="teststring" */ />
16
+ </ >
17
+ )
18
+ }
19
+ }
20
+ export default App
21
+
Original file line number Diff line number Diff line change 2
2
import React from 'react'
3
3
import ReactDOM from 'react-dom'
4
4
5
- import App from './App.jsx '
5
+ import App from './App'
6
6
7
7
8
8
const rootElement = document . getElementById ( 'app-root' ) || document . getElementById ( 'app' )
You can’t perform that action at this time.
0 commit comments