mycode/myApp/HaruDanim/IOS/Views/MainTabView.swift

49 lines
1.0 KiB
Swift

//
// MainTabView.swift
// HaruDanim
//
// Root tab navigation hosting the app's six top-level sections.
//
import SwiftUI
struct MainTabView: View {
var body: some View {
TabView {
MainDashboardView()
.tabItem {
Label("메인", systemImage: "house")
}
ActionTabView()
.tabItem {
Label("행동", systemImage: "bolt")
}
TagTabView()
.tabItem {
Label("꼬리표", systemImage: "tag")
}
Text("목표")
.tabItem {
Label("목표", systemImage: "flag")
}
Text("기록")
.tabItem {
Label("기록", systemImage: "chart.bar")
}
Text("설정")
.tabItem {
Label("설정", systemImage: "gearshape")
}
}
}
}
#Preview {
MainTabView()
}