Created
March 12, 2021 18:21
-
-
Save pablobaldez/3beaa1075404559d8220ef6cac3259b3 to your computer and use it in GitHub Desktop.
TwoLine texts with Composable
This file contains hidden or 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 TwoLine( | |
modifier: Modifier = Modifier, | |
secondary: @Composable () -> Unit, | |
primary: @Composable () -> Unit, | |
) { | |
Column(modifier = modifier) { | |
primary() | |
secondary() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment