emoji-mart#Emoji TypeScript Examples
The following examples show how to use
emoji-mart#Emoji.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SpfxEmojipicker.tsx From SPFx with Mozilla Public License 2.0 | 6 votes |
public render(): React.ReactElement<ISpfxEmojipickerProps> {
return (
<div className={styles.spfxEmojipicker}>
<Picker onSelect={(emoji) => { console.log(emoji) }} />
<Emoji emoji={{ id: 'santa', skin: 3 }} size={32} />
<Emoji emoji=':santa::skin-tone-3:' size={32} />
<Emoji emoji='santa' set='apple' size={32} />
</div>
);
}