-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContentView.swift
More file actions
51 lines (49 loc) · 1.27 KB
/
ContentView.swift
File metadata and controls
51 lines (49 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// ContentView.swift
// pastar
//
// Created by sueun kim on 2023/02/23.
//
import SwiftUI
struct ContentView: View {
@State private var selection = 0
var body: some View {
TabView {
Text("First Tab")
.tabItem {
Image(systemName: "1.square.fill")
Text("First")
.tag(0)
}
RxTabView()
.tabItem {
Image(systemName: "2.square.fill")
Text("Rx")
.tag(1)
}
JoelTabView()
.tabItem {
Image(systemName: "3.square.fill")
Text("조앨")
.tag(2)
}
SuhaTabView()
.tabItem {
Image(systemName: "4.square.fill")
Text("수하")
.tag(3)
}
KkayaTabView()
.tabItem {
Image(systemName: "5.square.fill")
Text("까야")
.tag(4)
}
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}