release
Peder Johnsen 2019-03-23 21:22:14 +00:00
parent 5570a7ce1a
commit d140dd8f04
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ You can get emoji data from native emoji unicode using the `getEmojiDataFromNati
import { getEmojiDataFromNative, Emoji } from 'emoji-mart' import { getEmojiDataFromNative, Emoji } from 'emoji-mart'
import data from 'emoji-mart/data/all.json' import data from 'emoji-mart/data/all.json'
let emojiData = getEmojiDataFromNative('🏊🏽‍♀️', 'apple', data) const emojiData = getEmojiDataFromNative('🏊🏽‍♀️', 'apple', data)
<Emoji <Emoji
emoji={emojiData} emoji={emojiData}

View File

@ -246,7 +246,7 @@ storiesOf('Headless Search', module)
storiesOf('Get emoji data from Native', module) storiesOf('Get emoji data from Native', module)
.addDecorator(withKnobs) .addDecorator(withKnobs)
.add('Default', () => { .add('Default', () => {
let emojiData = getEmojiDataFromNative( const emojiData = getEmojiDataFromNative(
text('Unicode', '🏋🏿‍♂️'), text('Unicode', '🏋🏿‍♂️'),
select('Emoji pack', SETS, SETS[0]), select('Emoji pack', SETS, SETS[0]),
data data