metatext/Views/UIKit/Content Configurations/EmojiContentConfiguration.swift
2021-02-22 20:40:08 -08:00

18 lines
424 B
Swift

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