BodyPartsView.swift
19 lines · 366 bytes
1 symbol in this file
1//
2// BodyPartsView.swift
3// DayByDay
4//
5
6import SwiftUI
7
8/// Displays all 12 body parts as large, tappable cards in a scrollable grid.
9struct BodyPartsView: View {
10 var body: some View {
11 CardGrid(items: LearnBodyPart.allCases, column: .narrowCards) { part in
12 BodyPartCard(bodyPart: part)
13 }
14 }
15}
16
17#Preview {
18 BodyPartsView()
19}