You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import React from "react";
|
|
import '../../style/player.css'
|
|
import {Team} from "../../data/Team";
|
|
|
|
|
|
export function PlayerPiece({team, text}: { team: Team, text: string }) {
|
|
return (
|
|
<div className={`player-piece ${team}`}>
|
|
<p>{text}</p>
|
|
</div>
|
|
)
|
|
} |