import {SiftItem} from '@bsky.app/sift' import {atoms as a, useTheme} from '#/alf' import {Text} from '#/components/Typography' import {type AutocompleteItemProps} from './types' export function AutocompleteItemEmoji({ active, props, item, }: AutocompleteItemProps) { const t = useTheme() if (item.type !== 'emoji') return null return ( [ {paddingVertical: 6, paddingHorizontal: 10}, a.flex_row, a.align_center, a.gap_sm, active || s.hovered || s.pressed ? [t.atoms.bg_contrast_25] : [], ]}> {item.value} :{item.emoji.id}: ) }