Join Slack
Powered by
wrt <https://www.jetbrains.com/help/kotlin-multipl...
# multiplatform
b
brandonmcansh
02/23/2024, 6:31 PM
wrt
https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-ios-ui-integration.html#use-compose-multiplatform-inside-a-swiftui-application
how does one get Theme entities to be set at a component/VC level? I know when you are doing a full compose UI app its simple since the entry point is a single place and you can just wrap everything in Theme() but im unsure on how to do it when components are usable within SwiftUI screens
brandonmcansh
02/23/2024, 6:40 PM
@John O'Reilly
any ideas or thoughts?
brandonmcansh
02/23/2024, 6:46 PM
obviously i can do
Copy code
fun _Badge(count: Int,) = ComposeUIViewController { Theme { Badge(count) } }
Open in Slack
Previous
Next