Heading1

@Composable
fun Heading1(text: String, modifier: Modifier = Modifier, colorType: ColorType = OnBackground)

A composable function that displays a heading with H1 typography style.

Parameters

text

The text to be displayed.

modifier

The modifier to be applied to the Text composable.

colorType

The color type to be used for the text.