Package Exports
- @pckz/react-native-fast-emoji-picker
- @pckz/react-native-fast-emoji-picker/index.js
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 (@pckz/react-native-fast-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
react-native-fast-emoji-picker
Installation
yarn add @pckz/react-native-fast-emoji-picker
import EmojiPicker from "react-native-fast-emoji-picker";
You need to have reanimated installed.
Demo
Usage
import EmojiPicker from "@pckz/react-native-fast-emoji-picker";
<EmojiSelector
onEmojiSelected={(emoji) => console.log(emoji)}
columns={6}
showSectionTitles
showSearchBar
showTabs
/>
Props
Prop | Type | Default | Description |
---|---|---|---|
onEmojiSelected | func | Function called when a user selects an Emoji | |
showTabs | bool | true |
Toggle the tabs on or off |
showSearchBar | bool | true |
Toggle the searchbar on or off |
showSectionTitles | bool | true |
Toggle the section title elements |
columns | number | 6 |
Number of columns accross |
placeholder | string | "Search Emoji" |
A string placeholder when there is no text in text input |
Debug
Error:
TypeError: null is not an object (evaluating '\_ReanimatedModule.default.createNode')
Try
yarn add react-native-reanimated
Error:
LayoutException: RecyclerListView needs to have a bounded size. Currently height or, width is 0.Consider adding style={{flex:1}} or, fixed dimensions
Try
Setting flex:1
all Parent Views or Add fixed Height