krz/daybyday

iOS learning games for young children: days, months, seasons, numbers, letters, animals and more. education ios kids swift https://krz.sh/apps/daybyday/

BodyPartsView.swift

062549ad26607ce9e973ed2a9a7ef6f853885f83
daybyday/BodyPartsView.swift history · blame · raw

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}