mirror of
https://github.com/lexogrine/cs2-react-hud.git
synced 2025-12-10 02:42:49 +01:00
11 lines
368 B
TypeScript
11 lines
368 B
TypeScript
import { Player } from 'csgogsi';
|
|
import {Defuse as DefuseIcon} from './../../assets/Icons';
|
|
const Defuse = ({ player }: { player: Player }) => {
|
|
if(!player.state.health || !player.state.defusekit) return '';
|
|
return (
|
|
<div className={`defuse_indicator`}>
|
|
<DefuseIcon />
|
|
</div>
|
|
);
|
|
}
|
|
export default Defuse; |