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.

struct MIAWView: View {
    let myEntryViewBuilder = MyEntryViewBuilder()

    var body: some View {
        let config = ... // Create your UIConfiguration
        Interface(config, chatFeedViewBuilder: myEntryViewBuilder)
    }
}
let config = ... // Create your UIConfiguration
let myEntryViewBuilder = TestEntryViewBuilder()
let interface = InterfaceViewController(config, chatFeedViewBuilder: myEntryViewBuilder)