when (config) {
is Config.List -> ListChild(listComponent(componentContext))
is Config.Details -> DetailsChild(detailsComponent(componentContext, config))
}
I can’t call
ListChild
like that. I have to use
RootComponent.Child.ListChild
instead. Is that intended or do I need to do something special to get the shorter syntax? I’m on Decompose 2.0.0
a
Arkadii Ivanov
07/08/2023, 10:34 PM
You can import RootComponent.Child.ListChild directly.