Roman Levinzon
04/15/2023, 3:00 PMcommonMain
? I want to create a shared design system and it would be handy to have it in there. Or I will have to have my Preview in say androidMain instead?Stefan Oltmann
04/15/2023, 8:11 PMAdam Brown
04/15/2023, 9:16 PMRoman Levinzon
04/16/2023, 7:09 AMDoes this preview function work well for you?Well I didn’t get to this point actually ;D First the Preview annotation was not available, makes sense I thought, there was no dependency. So I added that
implementation(comopose.preview)
in commonMain dep blockNo matching variant of org.jetbrains.compose.ui:ui-tooling-preview:1.4.0 was found. The consumer was configured to find a library for use during 'kotlin-api', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_arm64' but:
Stefan Oltmann
04/16/2023, 1:55 PMxxfast
04/16/2023, 7:30 PMRoman Levinzon
04/16/2023, 7:55 PMAdam Brown
04/16/2023, 8:08 PMDialog
composable though