Package-level declarations

Types

Link copied to clipboard
data class Emoji(val base: String, val keywords: List<String> = emptyList(), val supportsSkinTone: Boolean = false)

A single emoji entry with optional skin-tone support and search keywords.

Link copied to clipboard
data class EmojiCategory(val name: String, val icon: String, val emojis: List<Emoji>)

A named category of emojis with an icon emoji for the tab.

Link copied to clipboard
class EmojiPickerViewModel(customEmojiPrefs: CustomEmojiPrefs, emojiRepository: EmojiRepository) : ViewModel
Link copied to clipboard

Provides access to the emoji catalog loaded from a bundled JSON resource.

Functions

Link copied to clipboard
fun EmojiPickerDialog(onDismiss: () -> Unit = {}, selectedEmojis: Set<String> = emptySet(), viewModel: EmojiPickerViewModel = metroViewModel(), onConfirm: (String) -> Unit)

A fully-featured, cross-platform emoji picker dialog.

Link copied to clipboard
fun rememberQuickReactions(count: Int = DEFAULT_QUICK_REACTION_COUNT, viewModel: EmojiPickerViewModel = metroViewModel()): List<String>

Returns the user's top quick-reaction emoji from recents, falling back to defaults.

Link copied to clipboard
Link copied to clipboard