Fix story/readme skin prop typo
parent
fd4056025a
commit
fe17925fac
|
@ -287,7 +287,7 @@ import data from 'emoji-mart/data/all.json'
|
||||||
let emojiData = getEmojiDataFromNative('🤾🏽♂️', 'apple', data)
|
let emojiData = getEmojiDataFromNative('🤾🏽♂️', 'apple', data)
|
||||||
|
|
||||||
<Emoji
|
<Emoji
|
||||||
skin={emojiData.skin || null}
|
skin={emojiData.skin || 0}
|
||||||
set={select('Emoji pack', SETS, SETS[0])}
|
set={select('Emoji pack', SETS, SETS[0])}
|
||||||
emoji={emojiData}
|
emoji={emojiData}
|
||||||
size={48}
|
size={48}
|
||||||
|
|
|
@ -220,14 +220,14 @@ storiesOf('Get emoji data from Native', module)
|
||||||
.addDecorator(withKnobs)
|
.addDecorator(withKnobs)
|
||||||
.add('Default', () => {
|
.add('Default', () => {
|
||||||
let emojiData = getEmojiDataFromNative(
|
let emojiData = getEmojiDataFromNative(
|
||||||
text('Unicode', '🤾🏽♂️'),
|
text('Unicode', '🏊🏽♀️'),
|
||||||
select('Emoji pack', SETS, SETS[0]),
|
select('Emoji pack', SETS, SETS[0]),
|
||||||
data
|
data
|
||||||
)
|
)
|
||||||
if (!emojiData) {
|
if (!emojiData) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
Couldn't find emojiData from native string...
|
Couldn`t find any emoji data...
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@ storiesOf('Get emoji data from Native', module)
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Emoji
|
<Emoji
|
||||||
skin={emojiData.skin || null}
|
skin={emojiData.skin || 0}
|
||||||
set={select('Emoji pack', SETS, SETS[0])}
|
set={select('Emoji pack', SETS, SETS[0])}
|
||||||
emoji={emojiData}
|
emoji={emojiData}
|
||||||
size={48}
|
size={48}
|
||||||
|
|
Loading…
Reference in New Issue