Hey, I want a Component that has 4 static child co...
# decompose
f
Hey, I want a Component that has 4 static child components. What is the best way to create them?
Is it to just specify them like this?
Copy code
override val volumeComponent: VolumeComponent =
        DefaultVolumeComponent(
            componentContext = this.childContext("volume"),
            KoinPlatform.getKoin().get()
        )
a
Yep, that's the way. Or just one List if all components are of the same type.
🙏 1
f
Awesome, thanks @Arkadii Ivanov
👍 1