Created
August 31, 2021 02:08
-
-
Save widiarifki/b253e3273328fd9a7d4ec06e8027dd00 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 EmptyState(modifier: Modifier = Modifier) { | |
Box(modifier = modifier.fillMaxWidth(), contentAlignment = Alignment.Center) { | |
Text( | |
text = "Yah, belum ada item belanja!", | |
style = MaterialTheme.typography.h5, | |
textAlign = TextAlign.Center | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment