Mixonomer-iOS/Mixonomer/Views/Admin/AdminList.swift
2022-08-15 19:25:50 +01:00

34 lines
742 B
Swift

//
// AdminList.swift
// Mixonomer
//
// Created by Andy Pack on 11/08/2022.
// Copyright © 2022 Sarsoo. All rights reserved.
//
import SwiftUI
struct AdminList: View {
var body: some View {
NavigationView {
Form {
Section(header: Text("Users")) {
NavigationLink(destination: UsersList()) {
HStack {
Text("View Users")
}
}
}
}
.listStyle(GroupedListStyle())
.navigationBarTitle(Text("Admin 🚨"))
}
}
}
struct AdminList_Previews: PreviewProvider {
static var previews: some View {
AdminList()
}
}