import * as React from 'react'; import { DataEmoji } from '../../dataUtils/DataTypes'; import { EmojiStyleValue } from '../../types/exposedTypes'; /** The emoji a custom `Emoji` cell renders. */ export type ListEmoji = { /** True while hovered or keyboard-focused. */ isActive: boolean; /** Unified code including the active skin tone, e.g. `1f44d-1f3fd`. */ unified: string; names: string[]; /** Native emoji text (custom emojis: their id). */ emoji: string; isCustom: boolean; /** Active image style URL, or undefined for standard native emojis. */ imageUrl?: string; /** Whether a long press opens skin tone variations. */ hasVariations: boolean; }; /** * Props for a custom emoji cell. Spread everything except `emoji` onto a * `