Skip to content

Instantly share code, notes, and snippets.

@maiatoday
Created May 26, 2022 18:50
Show Gist options
  • Save maiatoday/f4a4c8436b7d2af29c6d5d82b9657a62 to your computer and use it in GitHub Desktop.
Save maiatoday/f4a4c8436b7d2af29c6d5d82b9657a62 to your computer and use it in GitHub Desktop.
heart
@Composable
fun Heart(modifier: Modifier = Modifier, color: Color = Color.Red, size: Dp = 100.dp) {
Surface(
shape = HeartShape,
color = color,
modifier = modifier
.height(size)
.width(size)
) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment