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.
Application-Web/front/views/TeamPanel.tsx

33 lines
399 B

import '../style/teamPanel.css'
interface TeamInfo{
id: number
name: string
picture: string
mainColor: string
secondColor: string
}
interface Team {
info: TeamInfo
members: Member[]
}
interface Member{
id: number
role: string
}
export default function TeamPanel({isCoach}: {isCoach: boolean}){
return <p>prout ({isCoach ? "vrai" : "faux"})</p>
}