0.0.7 • Published 9 years ago
emoji-picker v0.0.7
Emoji Picker
Add more emoji to your life.
Example
import {EmojiPicker} from 'emoji-picker';
console.log(`Emojis are so fun! ${EmojiPicker('happy')}`);Usage
Methods
EmojiPicker(emotion: EmojiOption | string, unicode: boolean = false): stringemotion: EmojiOption | string: The emotion you want emojiedunicode: boolean: Whether you want unicode emojis or Slack-style ascii- Returns an emoji to represent the specified emotion. If it can't find an emoji to represent the specified emotion, then it will return an empty string
Properties
EmojiOption: enum- Emotions that are available to emojify