Package Exports
- react-native-simple-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 (react-native-simple-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
<EmojiPicker />
Quick demo
<EmojiPicker
onPick={emoji => {}}
/>
Install
npm install --save react-native-simple-emoji-picker
import EmojiPicker from 'react-native-simple-emoji-picker';
Usage
<EmojiPicker />
component
Props:
onPick
(optional): a callback that is fired when the emoji is pressed.headerStyle
(optional): the style object to be applied to category headers.containerHeight
: the height of the picker. Defaults to240
.containerBackgroundColor
: the background color of the picker. Defaults torgba(0, 0, 0, 0.1)
.emojiSize
: the size of the individual emoji item. Defaults to40
.
To Do
- performance
- accessibility
License
MIT.