Skip to content

Instantly share code, notes, and snippets.

@Peddro
Created Jan 26, 2022
Embed
What would you like to do?
@Composable
fun H19Surface(
modifier: Modifier = Modifier,
shape: Shape = RectangleShape,
color: Color = H19Theme.colors.background,
contentColor: Color = defaultContentColorFor(color),
content: @Composable () -> Unit
) {
Surface(
modifier = modifier,
color = color,
contentColor = contentColor,
shape = shape,
content = content
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment