1
0
mirror of https://github.com/lexogrine/cs2-react-hud.git synced 2025-12-10 02:42:49 +01:00
2023-09-11 12:37:32 +02:00

18 lines
402 B
TypeScript

import React from "react";
import { PhaseRaw } from "csgogsi-socket";
interface IProps {
phase: PhaseRaw | null
}
export default class Pause extends React.Component<IProps> {
render() {
const { phase } = this.props;
return (
<div id={`pause`} className={phase && phase.phase === "paused" ? 'show' : ''}>
PAUSE
</div>
);
}
}