https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Shubham Singh

02/15/2023, 5:10 PM
Hi folks I have a sourceSet named
composeMain
that targets Android and Desktop since I want to share composables. Is there a way to somehow use Moko Resources to generate common resources for both these platforms? I want to share some local SVGs. Also, is there a way to maybe use libs like Kamel to load these images/SVGs in the common composables?
l

Landry Norris

02/15/2023, 5:21 PM
I’d recommend using the Svg2Compose plugin to convert your SVG files to Compose Icons, since that will be the easiest to use cross-platform.
s

Shubham Singh

02/15/2023, 5:40 PM
Thanks!!