Hint

fun Hint(hintStatus: HintStatus, modifier: Modifier = Modifier)

Forms are used to accept the user's input. They can be displayed in many different ways: input- or select-fields, text area, check boxes or radio buttons.

Hint Samples

No Icon

If you do not want an icon for HintStatus.Success, HintStatus.Warning, or HintStatus.Error, please explicitly pass null to the corresponding constructor, e.g.:

val hintStatus = HintStatus.Success(
text = "Success",
icon = null,
)

Hint(
hintStatus = hintStatus,
)

Hint without Icon Samples

Parameters

hintStatus

The HintStatus for the Hint.

modifier

optional Modifier to be applied to the Hint. Defaults to Modifier.