metatext/Views/UIKit/Content Configurations/AnnouncementReactionContentConfiguration.swift

19 lines
499 B
Swift
Raw Normal View History

2021-04-25 19:38:36 +00:00
// Copyright © 2021 Metabolist. All rights reserved.
import UIKit
import ViewModels
struct AnnouncementReactionContentConfiguration {
let viewModel: AnnouncementReactionViewModel
}
extension AnnouncementReactionContentConfiguration: UIContentConfiguration {
func makeContentView() -> UIView & UIContentView {
AnnouncementReactionView(configuration: self)
}
func updated(for state: UIConfigurationState) -> AnnouncementReactionContentConfiguration {
self
}
}