Tip

fun Tip(text: String, modifier: Modifier, icon: Int, onClick: () -> Unit? = null)

A tip - a round surface with an icon and text.

Parameters

text

the tip's text.

modifier

an extra modifier applied to the surface.

icon

the icon's resource ID.

onClick

what to do when the tip is clicked. If null, the tip cannot be clicked.