Package Exports
- local-emoji-picker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (local-emoji-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
local-emoji-picker
emoji picker for local emojis
live example
props
- categorySelector: boolean
- default: false
- search: boolean
- default: true
- onClick: function
- idPrefix: string
- default: ''
examples
const onClick = (data) => {
console.log(data) /*
{
value: '',
name: '',
keywords: ['', ...],
category: ',
unicode: '',
unicodeAlt: ['', ...]
}
*/
}
<LocalEmojiPicker
categorySelector
onClick={onClick}
/>
// only search
<LocalEmojiPicker
onClick={onClick}
/>
// only category selector
<LocalEmojiPicker
categorySelector
search={false}
onClick={onClick}
/>
// none
<LocalEmojiPicker
search={false}
onClick={onClick}
/>,