I'm trying out jetpack compose library how to create separate compose functions based on screen density, screen orientation, locale in an organized way
class Success(private val body: String) : MyViewState() {
@Composable
override fun buildUI() {
Padding(padding = 16.dp) {
Text(text = body, style = +themeTextStyle { body1 })
}
}