Add example of `emojiData` object

release
Peder Johnsen 2018-11-29 16:35:57 +00:00
parent bbbdcc512d
commit f0b5e1eeae
1 changed files with 13 additions and 0 deletions

View File

@ -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 ### With custom data
```js ```js
import data from 'emoji-mart/datasets/messenger' import data from 'emoji-mart/datasets/messenger'