Skip to content

Instantly share code, notes, and snippets.

@cp-radhika-s
Created October 5, 2022 11:39
Show Gist options
  • Save cp-radhika-s/db03d326861f5308ff4a4647b6ce6da8 to your computer and use it in GitHub Desktop.
Save cp-radhika-s/db03d326861f5308ff4a4647b6ce6da8 to your computer and use it in GitHub Desktop.
@Composable
fun PulsateEffect() {
Button(onClick = {
// clicked
}, shape = RoundedCornerShape(12.dp),
contentPadding = PaddingValues(16.dp),
modifier = Modifier.bounceClick()) {
Text(text = "Click me")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment