Created
October 5, 2022 11:39
-
-
Save cp-radhika-s/db03d326861f5308ff4a4647b6ce6da8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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