27 lines
655 B
Swift
27 lines
655 B
Swift
import SwiftUI
|
|
|
|
struct MainHomeRankingEmptyStateView: View {
|
|
var body: some View {
|
|
VStack {
|
|
Spacer()
|
|
|
|
Text(I18n.HomeRanking.emptyStateMessage)
|
|
.appFont(.body5)
|
|
.foregroundColor(Color.gray500)
|
|
.multilineTextAlignment(.center)
|
|
|
|
Spacer()
|
|
}
|
|
.frame(maxWidth: .infinity)
|
|
.background(Color.black)
|
|
}
|
|
}
|
|
|
|
struct MainHomeRankingEmptyStateView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
MainHomeRankingEmptyStateView()
|
|
.frame(width: 390, height: 320)
|
|
.previewLayout(.sizeThatFits)
|
|
}
|
|
}
|