Jetpack Compose Question: I am trying to get a and...
# announcements
g
Jetpack Compose Question: I am trying to get a android.ui.material.button to look pressed. How is that done in compose?
a
you can ask in #CJLTWPH7S channel
g
Thanks. Will do.
Copy code
@Composable
fun ButtonStyled (text : String, onClick:  (() -> Unit)?) {
    Button(onClick = onClick) {
        Text(text)
    }
}
pretty bare bones
doesn’t seem like there is an option for the ripple effect.