Skip to content

Instantly share code, notes, and snippets.

@Peddro
Created January 26, 2022 11:16
Show Gist options
  • Save Peddro/782c3db284295bac41b49ccd9787ccb8 to your computer and use it in GitHub Desktop.
Save Peddro/782c3db284295bac41b49ccd9787ccb8 to your computer and use it in GitHub Desktop.
@Composable
fun H19WrongButton(
modifier: Modifier = Modifier,
enabled: Boolean = true,
elevation: ButtonElevation = ButtonDefaults.elevation(defaultElevation = 0.dp),
text: String,
onClick: () -> Unit
) {
Button(
modifier = modifier,
onClick = onClick,
enabled = enabled,
elevation = elevation,
) {
Text(text = text)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment