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.
Swift_Ark/RankingView.swift

19 lines
474 B

import SwiftUI
struct RankingView {
let ranking : Ranking?
let player : Player?
var body : some View {
VStack(alignment: .leading)
Text("RANKING") // TODO : penser à créer un style pour les textes
.font(.Title)
.foregroundColor(.white)
Text(ranking.getRank(of:player.id))
.font(.LargeTitle)
.fontWeight(.bold)
.foregroundColor(.white)
Text("Singles")
.font(.Title2)
.foregroundColor(.white)
}
}