Skip to content

Emoji name #27

Description

@IGOLz

I tryed using emoji-dictionary to get the emoji name and print it in this component like so:

import { EmojiProvider, Emoji } from "react-apple-emojis";
import emojiData from "react-apple-emojis/src/data.json";

import emojiDictionary from "emoji-dictionary";

<EmojiProvider data={emojiData}>
    <Emoji name={emojiDictionary.getName(emoji)} width={32} />
</EmojiProvider>

But the names are not matching the names in this library.

Any suggestion on how to get the emoji name from the emoji itself and use the library to print the emoji?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions