Is there any way at the moment to support somethin...
# compose
j
Is there any way at the moment to support something like
@PreviewLightDark
for Compose previews in commonMain?
n
no available commonMain but you can use below code @Composable fun PreviewAllThemes() { Column { AppTheme(darkTheme = false) { MyComposable() } Spacer(Modifier.height(16.dp)) AppTheme(darkTheme = true) { MyComposable() } } }
👎🏾 1