diff --git a/stories/index.js b/stories/index.js index 5246092..d8c7797 100644 --- a/stories/index.js +++ b/stories/index.js @@ -53,6 +53,17 @@ storiesOf('Picker', module) /> )) + .add('Picker with onSelect (issue #313)', () => { + const addEmoji = e => { + console.log(localStorage.getItem('emoji-mart.frequently')); + if (e.unified.length <= 5) { + let emojiPic = String.fromCodePoint(`0x${e.unified}`); + console.log(emojiPic); + } + }; + return () + }) + .add('Custom “Not found” component', () => ( (