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("Share")
               }, label: { Image(systemName: "square.and.arrow.up") })
            }
            ToolbarSpacer(.fixed, placement: .topBarTrailing)
            ToolbarItem(placement: .topBarTrailing) {
               Button(action: {
                  print("Send Message")
               }, label: { Image(systemName: "envelope") })
            }
         }
      }
   }
}