SmileyFeedback

fun SmileyFeedback(onSmileyClick: (SmileyFeedback.Feedback) -> Unit, modifier: Modifier = Modifier, translations: SmileyFeedback.Translations = SmileyFeedback.Translations())

An interactive component to provide feedback. Fills clicked smiley.

Smiley Feedback Sample

Parameters

onSmileyClick

called when a smiley is clicked. The lambda receives the index of the smiley that was clicked.

modifier

the Modifier applied to the smiley feedback. Note that smiley size is static.

translations

the SmileyFeedback.Translations semantics of the smileys. If null or empty, no semantics will be set.