Created
April 25, 2022 12:34
-
-
Save GianpaMX/eb028192f3dc4ea37b0d5b23ae1877dc 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 AddNewPerson(onAddNewPayerClick: (() -> Unit)? = null) { | |
Row( | |
modifier = Modifier | |
.height(56.dp) | |
.fillMaxWidth() | |
.clickable { | |
onAddNewPayerClick?.invoke() | |
} | |
.padding(horizontal = 16.dp, vertical = 8.dp), | |
verticalAlignment = Alignment.CenterVertically, | |
) { | |
Text("Add new person...", color = Color.Gray, fontStyle = FontStyle.Italic) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment