initial commit

This commit is contained in:
2020-04-19 23:31:59 +02:00
commit f37e5d1fd0
10 changed files with 9363 additions and 0 deletions

14
src/components/app.tsx Normal file
View File

@@ -0,0 +1,14 @@
import * as React from "react";
class App extends React.Component {
constructor(props) {
super(props);
}
render(): JSX.Element {
return <h1>Hello world</h1>;
}
}
export default App;

10
src/index.html Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<div id="root"></div>
</body>
</html>

12
src/index.tsx Normal file
View File

@@ -0,0 +1,12 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import App from "./components/app";
import "./style/default.scss";
ReactDOM.render(
<App/>,
document.getElementById("root")
);

3
src/style/default.scss Normal file
View File

@@ -0,0 +1,3 @@
body {
background-color: darkgray;
}