xiewang / React Native Emoticons
Licence: mit
react native emoticons(表情), including emoji😁
Stars: ✭ 119
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to React Native Emoticons
localDataStorage
💼 A handy wrapper for HTML5 localStorage that seamlessly gets/sets primitive values (Array, Boolean, Date, Float, Integer, Null, Object or String); provides simple data scrambling; intelligently compresses strings; permits query by key as well as query by value and promotes shared storage segmentation in the same domain. Key names and values ar…
Stars: ✭ 42 (-64.71%)
Mutual labels: emoji, storage
Keyboardkit
KeyboardKit is a Swift library that helps you create custom keyboard extensions for iOS and ipadOS.
Stars: ✭ 438 (+268.07%)
Mutual labels: keyboard, emoji
Cordova Plugin Native Keyboard
🎹 Add a Slack / WhatsApp - style chat keyboard to your Cordova app!
Stars: ✭ 271 (+127.73%)
Mutual labels: keyboard, chat
react-native-emoji-input
A fully-featured emoji keyboard ⌨️ for React Native ⚛️
Stars: ✭ 67 (-43.7%)
Mutual labels: emoji, keyboard
Android Slidingemojikeyboard
Our Sliding Emoji Keyboard app.
Stars: ✭ 286 (+140.34%)
Mutual labels: keyboard, emoji
Sodieremojikeyboardplus
支持自定义emoji表情,icon font , FontAwesome,斜体,超链接,粗体,下划线,字体,颜色,镂空字体等富文本
Stars: ✭ 14 (-88.24%)
Mutual labels: keyboard, emoji
Opensource Socialnetwork
Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests. It is available in 16 international languages.
Stars: ✭ 710 (+496.64%)
Mutual labels: chat, emoji
KeyboardKitPro
KeyboardKit Pro extends KeyboardKit with pro features.
Stars: ✭ 42 (-64.71%)
Mutual labels: emoji, keyboard
Turms
The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs
Stars: ✭ 97 (-18.49%)
Mutual labels: storage, chat
EmoticonsBoard
Function keyboard and emotions. Android表情键盘,可动态更新表情。
Stars: ✭ 31 (-73.95%)
Mutual labels: emoji, keyboard
EasyEmoji
Help developers to quickly realize the expression of the keyboard
Stars: ✭ 24 (-79.83%)
Mutual labels: emoji, keyboard
Jetchat
Swift5.0编写的简仿微信聊天应用,完美支持表情键盘、单聊、群聊、本地消息会话缓存。
Stars: ✭ 61 (-48.74%)
Mutual labels: keyboard, chat
Android Keyboard
Android Keyboard with 180+ dictionaries. Support swipe input (sliding input), Emoji keyboard, AI predictions, dictionaries downloading, and keyboard themes.
Stars: ✭ 108 (-9.24%)
Mutual labels: keyboard, emoji
Dino
Modern XMPP ("Jabber") Chat Client using GTK+/Vala
Stars: ✭ 1,637 (+1275.63%)
Mutual labels: chat
Norman
Norman keyboard layout - alternative to QWERTY for touch typing in English
Stars: ✭ 112 (-5.88%)
Mutual labels: keyboard
React Native Emoticons
react native emoticons component, including emoji
latest screenshot sample
Install
npm install react-native-emoticons
Usage
UI Component
-
step 1
Import the component package.
import Emoticons from 'react-native-emoticons';
-
step 2
Write the component code in the proper place of your page render.
<Emoticons onEmoticonPress={this._onEmoticonPress.bind(this)} onBackspacePress={this._onBackspacePress.bind(this)} show={this.state.showEmoticons} concise={true} showHistoryBar={true} showPlusBar={true} />
Tip: The attribute
onEmoticonPress
can get the emoticos results like{code:'😁', name: 'GRIMACING FACE'}
. The attributeshow
will control that if the component is visible. The attributeonBackspacePress
will add a function for backspace button.
props
Prop | Type | Description | Required | Default |
---|---|---|---|---|
onEmoticonPress |
Function |
callback function when the emoticons is pressed | Yes |
None |
onBackspacePress |
Function |
callback function when the backspace button is pressed | YES |
None |
show |
Bool |
show the component | YES |
false |
concise |
Bool |
concise mod with less emoji | No |
true |
showHistoryBar |
Bool |
enable history function | No |
true |
showPlusBar |
Bool |
enable more emoticons function(is on developing, if you have interesting on this, welcome pull request.) | No |
true |
asyncRender |
Bool |
async render | No |
false |
API
Import
import * as emoticons from 'react-native-emoticons';
-
stringify
//Most database can't restore the emoji string😤,so we map //them to common string. const string = emoticons.stringify('This is source emoji 😁'); console.log(string);
//output 'This is source emoji [GRIMACING FACE]'
-
parse
//If we want to show the emoji(fetch from database) in view page //we need parse the string const emoji = emoticons.parse('This is source emoji [GRIMACING FACE]'); console.log(emoji);
//output 'This is source emoji 😁'
-
splitter
//this api is for backspace function const emoji = emoticons.splitter('emoji😁'); console.log(emoji);
//output ['e','m','o','j','i','😁']
Further
weixin
Support custom emoticons like Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].