mirror of
https://github.com/lexogrine/cs2-react-hud.git
synced 2025-12-10 03:52:48 +01:00
11 lines
335 B
TypeScript
11 lines
335 B
TypeScript
import { Team } from 'csgogsi';
|
|
|
|
const WinAnnouncement = ({team, show }: { team: Team | null, show: boolean }) => {
|
|
if(!team) return null;
|
|
return <div className={`win_text ${show ? 'show' : ''} ${team.orientation} ${team.side}`}>
|
|
WINS THE ROUND!
|
|
</div>
|
|
}
|
|
|
|
|
|
export default WinAnnouncement; |