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(action: {
                  print("Delete Element")
               }, label: { Image(systemName: "trash") })
               .tint(.red)
            }
         }
      }
   }
}