Pass Your View Builder to the UI Interface

Pass the MyEntryViewBuilder structure from the Define How To Render Each Element example to the UI interface.

Swift UI
1struct MIAWView: View {
2    let myEntryViewBuilder = MyEntryViewBuilder()
3
4    var body: some View {
5        let config = ... // Create your UIConfiguration
6        Interface(config, chatFeedViewBuilder: myEntryViewBuilder)
7    }
8}
UIKit
1let config = ... // Create your UIConfiguration
2let myEntryViewBuilder = TestEntryViewBuilder()
3let interface = InterfaceViewController(config, chatFeedViewBuilder: myEntryViewBuilder)