mirror of
https://github.com/lexogrine/cs2-react-hud.git
synced 2025-12-10 03:52:48 +01:00
18 lines
288 B
TypeScript
18 lines
288 B
TypeScript
import { PhaseRaw } from "csgogsi";
|
|
|
|
interface IProps {
|
|
phase: PhaseRaw | null;
|
|
}
|
|
|
|
const Pause = ({ phase }: IProps) => {
|
|
return (
|
|
<div
|
|
id={`pause`}
|
|
className={phase && phase.phase === "paused" ? "show" : ""}
|
|
>
|
|
PAUSE
|
|
</div>
|
|
);
|
|
};
|
|
export default Pause;
|