UNPKG

@indahash/emoji-picker-react

Version:

Emoji Picker component for React Applications on the web

55 lines (48 loc) 1.07 kB
export type EmojiClickData = { activeSkinTone: SkinTones; unified: string; unifiedWithoutSkinTone: string; emoji: string; names: string[]; getImageUrl: (emojiStyle: EmojiStyle) => string; }; export enum SuggestionMode { RECENT = 'recent', FREQUENT = 'frequent', } export enum EmojiStyle { NATIVE = 'native', APPLE = 'apple', TWITTER = 'twitter', GOOGLE = 'google', FACEBOOK = 'facebook', } export enum Theme { DARK = 'dark', LIGHT = 'light', AUTO = 'auto', } export enum SkinTones { NEUTRAL = 'neutral', LIGHT = '1f3fb', MEDIUM_LIGHT = '1f3fc', MEDIUM = '1f3fd', MEDIUM_DARK = '1f3fe', DARK = '1f3ff', } export enum Categories { SUGGESTED = 'suggested', MOST_POPULAR_EMOJIS = 'most_popular_emojis', SMILEYS_PEOPLE = 'smileys_people', ANIMALS_NATURE = 'animals_nature', FOOD_DRINK = 'food_drink', TRAVEL_PLACES = 'travel_places', ACTIVITIES = 'activities', OBJECTS = 'objects', SYMBOLS = 'symbols', FLAGS = 'flags', } export enum SkinTonePickerLocation { SEARCH = 'SEARCH', PREVIEW = 'PREVIEW', }