Files
diehammer/DieHammer/Views/Elements/DiePoolView.swift
T

22 lines
348 B
Swift

//
// DiePoolView.swift
// Bunch O' Dice
//
import SwiftUI
struct DiePoolView: View {
var body: some View {
HStack(spacing: 0) {
ForEach(Dice.DiceType.allCases, id: \.rawValue) { i in
DieView(whichDie: i)
}
}
}
}
#Preview {
DiePoolView()
.environmentObject(Roll())
}