typo
parent
5570a7ce1a
commit
d140dd8f04
|
@ -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}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue