import React from 'react';
import { Team } from 'csgogsi-socket';

export default class WinAnnouncement extends React.Component<{ team: Team | null, show: boolean }> {
    render() {
        const { team, show } = this.props;
        if(!team) return null;
        return <div className={`win_text ${show ? 'show' : ''} ${team.orientation} ${team.side}`}>
                WINS THE ROUND!
            </div>   
    }
}
