Heading4

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

A composable function that displays a heading with H4 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.