-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTabBar.swift
46 lines (43 loc) · 1.3 KB
/
TabBar.swift
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
//
// TabBar.swift
// ShinherPRO
//
// Created by 江祐鈞 on 2023/8/4.
//
import SwiftUI
struct TabBar: View {
var body: some View {
ZStack{
Rectangle()
.frame(height: 60)
.foregroundColor(.secondary.opacity(0.1))
HStack(alignment: .center, spacing: 48){
Image(systemName: "person.text.rectangle")
.resizable()
.scaledToFit()
.frame(width: 40)
.foregroundColor(.secondary)
Image(systemName: "filemenu.and.selection")
.resizable()
.scaledToFit()
.frame(width: 40)
.foregroundColor(.secondary)
Image(systemName: "calendar")
.resizable()
.scaledToFit()
.frame(height: 32)
.foregroundColor(.secondary)
Image(systemName: "bell")
.resizable()
.scaledToFit()
.frame(height: 32)
.foregroundColor(.secondary)
}
}.background(.ultraThinMaterial)
}
}
struct TabBar_Previews: PreviewProvider {
static var previews: some View {
TabBar()
}
}