import React from "react";
import '../../style/player.css'


export function PlayerPiece({team, text}: { team: string, text: string }) {
    return (
        <div className={`player-piece ${team}`}>
            <p>{text}</p>
        </div>
    )
}