23 lines
488 B
Swift
23 lines
488 B
Swift
import SwiftUI
|
|
|
|
struct DashboardView: View {
|
|
var body: some View {
|
|
TabView {
|
|
Tab("Chemicals", systemImage: "flask.fill") {
|
|
ChemicalsListView()
|
|
}
|
|
Tab("Scan", systemImage: "camera.fill") {
|
|
ScanView()
|
|
}
|
|
Tab("Profile", systemImage: "person.fill") {
|
|
ProfileView()
|
|
}
|
|
}
|
|
.tint(Color("Brand/BrandPrimary"))
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
DashboardView()
|
|
}
|