From f0b5e1eeae09b85ab02dc2597805a1812aebc47a Mon Sep 17 00:00:00 2001 From: Peder Johnsen Date: Thu, 29 Nov 2018 16:35:57 +0000 Subject: [PATCH] Add example of `emojiData` object --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 2ecf386..67344bc 100644 --- a/README.md +++ b/README.md @@ -294,6 +294,19 @@ let emojiData = getEmojiDataFromNative('🏊🏽‍♀️', 'apple', data) /> ``` +#### Example of `emojiData` object: +```js +emojiData: { + "id": "woman-swimming", + "name": "Woman Swimming", + "colons": ":woman-swimming::skin-tone-4:", + "emoticons": [], + "unified": "1f3ca-1f3fd-200d-2640-fe0f", + "skin": 4, + "native": "🏊🏽‍♀️" +} +``` + ### With custom data ```js import data from 'emoji-mart/datasets/messenger'