Sesame-iOS/Sesame/HistoryView.swift
2022-05-01 18:30:30 +02:00

19 lines
341 B
Swift

import SwiftUI
struct HistoryView: View {
let manager: HistoryManager
var body: some View {
List(manager.loadEntries()) { entry in
HistoryListItem(entry: entry)
}
}
}
struct HistoryView_Previews: PreviewProvider {
static var previews: some View {
HistoryView(manager: .init())
}
}