diff --git a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt index 453bf3f45a..8b7934727c 100644 --- a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt +++ b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt @@ -17,16 +17,12 @@ package app.cash.redwood.treehouse import app.cash.redwood.protocol.widget.ProtocolMismatchHandler import app.cash.redwood.protocol.widget.ProtocolNode -import app.cash.redwood.ui.UiConfiguration -import app.cash.redwood.widget.Widget +import app.cash.redwood.widget.RedwoodView import kotlin.native.ObjCName -import kotlinx.coroutines.flow.StateFlow import kotlinx.serialization.json.Json @ObjCName("TreehouseView", exact = true) -public interface TreehouseView { - public val children: Widget.Children - public val uiConfiguration: StateFlow +public interface TreehouseView : RedwoodView { public val widgetSystem: WidgetSystem public val readyForContent: Boolean public var readyForContentChangeListener: ReadyForContentChangeListener?