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

   var body: some View {
      VStack {
         EditButton()
            .buttonStyle(.glassProminent)
         List {
            ForEach(appData.userData) { book in
               CellBook(book: book)
            }.onDelete { indexes in
               appData.userData.remove(atOffsets: indexes)
            }
         }.listStyle(.plain)
      }
   }
}