1
0
mirror of https://github.com/lexogrine/cs2-react-hud.git synced 2026-05-04 04:03:10 +02:00

initial commit

This commit is contained in:
Hubert Walczak
2023-09-11 12:37:32 +02:00
commit 989ede8638
247 changed files with 7656 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import React from 'react';
import { Player } from 'csgogsi-socket';
import {Bomb as BombIcon} from './../../assets/Icons';
export default class Bomb extends React.Component<{ player: Player }> {
render() {
const { player } = this.props;
if(Object.values(player.weapons).every(weapon => weapon.type !== "C4")) return '';
return (
<div className={`armor_indicator`}>
<BombIcon />
</div>
);
}
}