metatext/Views/TagContentConfiguration.swift
Justin Mazzocchi 6b27cd1579
Render tags
2021-01-23 19:12:30 -08:00

18 lines
414 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import UIKit
import ViewModels
struct TagContentConfiguration {
let viewModel: TagViewModel
}
extension TagContentConfiguration: UIContentConfiguration {
func makeContentView() -> UIView & UIContentView {
TagView(configuration: self)
}
func updated(for state: UIConfigurationState) -> TagContentConfiguration {
self
}
}