You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.1 KiB

//
// UEListItem.swift
// App
//
// Created by BREUIL Yohann on 24/05/2023.
//
import SwiftUI
struct UEListItem: View {
var body: some View {
NavigationStack {
VStack(alignment: .leading) {
Label("UEs", systemImage: "doc.fill")
.font(.title)
Text("Détails des UEs")
LazyVStack {
HStack {
NoteInfo()
NavigationLink(destination: UEView()) {
Image(systemName: "square.and.pencil")
}
Divider()
}
.padding()
HStack {
NoteInfo()
NavigationLink(destination: UEView()) {
Image(systemName: "square.and.pencil")
}
Divider()
}
.padding()
HStack {
NoteInfo()
NavigationLink(destination: UEView()) {
Image(systemName: "square.and.pencil")
}
Divider()
}
.padding()
HStack {
NoteInfo()
NavigationLink(destination: UEView()) {
Image(systemName: "square.and.pencil")
}
Divider()
}
.padding()
HStack {
NoteInfo()
NavigationLink(destination: UEView()) {
Image(systemName: "square.and.pencil")
}
Divider()
}
.padding()
}
}
.padding()
.background(Color("ListItemBackgroundColor"))
.cornerRadius(12)
}
}
}
struct UEListItem_Previews: PreviewProvider {
static var previews: some View {
UEListItem()
}
}