2022-01-18 06:06:16 -08:00
|
|
|
export const unicodeEmojiCategories = ['face', 'people', 'animals_and_nature', 'food_and_drink', 'activity', 'travel_and_places', 'objects', 'symbols', 'flags'] as const;
|
|
|
|
|
|
|
|
export type UnicodeEmojiDef = {
|
2019-09-21 05:31:38 -07:00
|
|
|
name: string;
|
|
|
|
keywords: string[];
|
|
|
|
char: string;
|
2022-01-18 06:06:16 -08:00
|
|
|
category: typeof unicodeEmojiCategories[number];
|
|
|
|
}
|
|
|
|
|
|
|
|
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
|
|
|
export const emojilist = require('../emojilist.json') as UnicodeEmojiDef[];
|