Skip to content

Instantly share code, notes, and snippets.

@Peddro
Created January 26, 2022 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Peddro/564ef0f27017a99b08f48b8b04e2236b to your computer and use it in GitHub Desktop.
Save Peddro/564ef0f27017a99b08f48b8b04e2236b to your computer and use it in GitHub Desktop.
@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