mirror of
https://github.com/lexogrine/dota2-react-hud.git
synced 2026-05-04 12:33:11 +02:00
init
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
import Observed from "./../Players/Observed";
|
||||
|
||||
|
||||
|
||||
|
||||
interface Props {
|
||||
game: any,
|
||||
}
|
||||
|
||||
export default class Layout extends React.Component<Props> {
|
||||
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
const { game } = this.props;
|
||||
|
||||
|
||||
return (
|
||||
<div className="layout">
|
||||
|
||||
<Observed player={game.player}/>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user