Update story/readme
parent
ed241d1d42
commit
37340679ec
|
@ -310,9 +310,9 @@ import data from 'emoji-mart/data/all.json'
|
|||
let emojiData = getEmojiDataFromNative('🏊🏽♀️', 'apple', data)
|
||||
|
||||
<Emoji
|
||||
skin={emojiData.skin || 0}
|
||||
set={select('Emoji pack', SETS, SETS[0])}
|
||||
emoji={emojiData}
|
||||
set={'apple'}
|
||||
skin={emojiData.skin || 1}
|
||||
size={48}
|
||||
/>
|
||||
```
|
||||
|
|
|
@ -220,14 +220,14 @@ storiesOf('Get emoji data from Native', module)
|
|||
.addDecorator(withKnobs)
|
||||
.add('Default', () => {
|
||||
let emojiData = getEmojiDataFromNative(
|
||||
text('Unicode', '🏊🏽♀️'),
|
||||
text('Unicode', '🏋🏿♂️'),
|
||||
select('Emoji pack', SETS, SETS[0]),
|
||||
data
|
||||
)
|
||||
if (!emojiData) {
|
||||
return (
|
||||
<div>
|
||||
Couldn`t find any emoji data...
|
||||
Couldn`t find any emoji data from native...
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
@ -235,9 +235,9 @@ storiesOf('Get emoji data from Native', module)
|
|||
return (
|
||||
<div>
|
||||
<Emoji
|
||||
skin={emojiData.skin || 0}
|
||||
set={select('Emoji pack', SETS, SETS[0])}
|
||||
emoji={emojiData}
|
||||
set={select('Emoji pack', SETS, SETS[0])}
|
||||
skin={emojiData.skin || 1}
|
||||
size={48}
|
||||
/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue