import type { FC } from 'react'; import { Emoji } from './emoji'; interface LegacyEmoji { id: string; custom?: boolean; native?: string; imageUrl?: string; } export const AutosuggestEmoji: FC<{ emoji: LegacyEmoji }> = ({ emoji }) => { const colons = `:${emoji.id}:`; return (