struct ContentView: View {
   @Environment(ApplicationData.self) private var appData

   var body: some View {
      NavigationStack {
         List(appData.userData) { book in
            CellBook(book: book)
         }
         .navigationTitle(Text("Books"))
         .toolbar {
            ToolbarItem(placement: .topBarTrailing) {
               Button("Delete", systemImage: "trash", action: {
                  print("Delete Element")
               })
               .tint(.red)
            }
         }
      }
   }
}