NotoImageEmoji

fun NotoImageEmoji(emoji: Emoji, modifier: Modifier, placeholder: @Composable () -> Unit = { PlatformEmojiPlaceholder(emoji, modifier) })

Shows an Emoji as an image downloaded from the Noto image library.

Parameters

emoji

The Emoji to render

modifier

The madatory modifier that must define the size of the displayed emoji, to be applied to the layout.

placeholder

Composable that will be rendered in place during the download of the image.


fun NotoImageEmoji(emoji: Emoji, placeholder: @Composable () -> Unit = { PlatformEmojiPlaceholder(emoji, Modifier) })

Deprecated (with error)

Modifier that defines size (width & height) is mandatory

Replace with

NotoImageEmoji(emoji, Modifier.size(16.dp), placeholder)