diff --git a/README.md b/README.md index 5207216..95f1603 100644 --- a/README.md +++ b/README.md @@ -277,6 +277,23 @@ emojiIndex.search('christmas').map((o) => o.native) // => [πŸŽ„, πŸŽ…πŸΌ, πŸ””, 🎁, ⛄️, ❄️] ``` +## Get emoji data from Native +You can get emoji data from native emoji unicode using the `getEmojiDataFromNative` util function. + +```js +import { getEmojiDataFromNative, Emoji } from 'emoji-mart' +import data from 'emoji-mart/data/all.json' + +let emojiData = getEmojiDataFromNative('πŸ€ΎπŸ½β€β™‚οΈ', 'apple', data) + + +``` + ### With custom data ```js import data from 'emoji-mart/datasets/messenger'