mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-22 21:46:28 +00:00
23 lines
574 B
Swift
23 lines
574 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import SwiftUI
|
|
|
|
struct StatusListView: UIViewControllerRepresentable {
|
|
let viewModel: StatusListViewModel
|
|
|
|
func makeUIViewController(context: Context) -> StatusListViewController {
|
|
StatusListViewController(viewModel: viewModel)
|
|
}
|
|
|
|
func updateUIViewController(_ uiViewController: StatusListViewController, context: Context) {
|
|
|
|
}
|
|
}
|
|
|
|
#if DEBUG
|
|
struct StatusListView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
StatusListView(viewModel: .development)
|
|
}
|
|
}
|
|
#endif
|