```ClickableText( modifier = Modifier ...
# compose
s
Copy code
ClickableText(
    modifier = Modifier
        .align(Alignment.CenterHorizontally)
        .padding(top = 10.dp)
        .indication(
            interactionSource = remember { MutableInteractionSource() },
            indication = rememberRipple(true)
        ),
    text = noAccount,
    style = MaterialTheme.typography.subtitle2
) {
    Timber.d("$it")
}
How to add ripple in ClickableText?Above code did not work.Am i doing it wrong?
z
I think the part you’re missing is your click handler needs to send an interaction to the
MutableInteractionSource
(you’ll want to hoist that into a val somewhere so you can send events to it)