ProvidesTextStyle

@Composable
fun ProvidesTextStyle(style: TextStyle, content: @Composable () -> Unit)

Provides a TextStyle to the composition, affecting all Text components within the content block that don't explicitly override their style.

Since

0.6.0

Parameters

style

The TextStyle to provide.

content

The composable content that will inherit this text style.