Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@damianpetla
Created January 9, 2022 22:01
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 damianpetla/9edd59ed5664b2b2620d093448619b40 to your computer and use it in GitHub Desktop.
Save damianpetla/9edd59ed5664b2b2620d093448619b40 to your computer and use it in GitHub Desktop.
CompositionLocalProvider(
LocalDimensions provides Dimensions(),
LocalSimpleTypography provides MyTypography(),
LocalMyColors provides MyColors()
) {
// MaterialTheme(
// colors = colors,
// shapes = Shapes,
// content = content
// )
content()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment