emoji-picker-element/src/types/trimEmojiData.ts

11 lines
393 B
TypeScript
Raw Normal View History

2020-06-20 23:06:19 +02:00
import {Emoji} from "./shared";
/**
* Given an array of emoji (e.g. emojibase-data/en/data.json), extract out only the data
* needed for emoji-picker-element, resulting in a smaller object.
* @param emojiData
* @deprecated - Not required when using emoji-picker-element-data rather than emojibase-data
2020-06-20 23:06:19 +02:00
*/
export default function trimEmojiData(emojiData: Emoji[]): Emoji[] {
2020-06-20 23:06:19 +02:00
return []
}