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

   var body: some View {
      List {
         Section(header: Text("Statistics")) {
            HStack {
               Text("Total Books:")
               Spacer()
               Text(String(appData.userData.count))
            }
         }
         Section(header: Text("My Books")) {
            ForEach(appData.userData) { book in
               CellBook(book: book)
            }
         }
      }.environment(\.defaultMinListRowHeight, 100)
   }
}