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

19 lines
424 B
Swift
Raw Normal View History

2021-01-15 10:13:10 +00:00
// Copyright © 2021 Metabolist. All rights reserved.
import UIKit
import ViewModels
struct EmojiContentConfiguration {
let viewModel: EmojiViewModel
2021-01-15 10:13:10 +00:00
}
extension EmojiContentConfiguration: UIContentConfiguration {
func makeContentView() -> UIView & UIContentView {
EmojiView(configuration: self)
}
func updated(for state: UIConfigurationState) -> EmojiContentConfiguration {
self
}
}