First commit to the new repository

:
This commit is contained in:
Daniel Ledda
2020-05-10 15:10:12 +02:00
commit d99d7cbfec
49 changed files with 10784 additions and 0 deletions

29
src/App.tsx Executable file
View File

@@ -0,0 +1,29 @@
import React, {ReactNode} from "react";
import Game from "./Components/Game";
import {LocaleContext, localeDefaultVal} from "./static/strings";
import "semantic-ui-css/semantic.min.css";
interface AppState {
}
interface AppProps {}
class App extends React.Component<AppProps, AppState> {
constructor(props: AppProps) {
super(props);
this.state = {
};
}
render(): ReactNode {
return (
<LocaleContext.Provider value={localeDefaultVal}>
<Game/>
</LocaleContext.Provider>
);
}
}
App.contextType = LocaleContext;
export default App;