All Projects → xiewang → React Native Emoticons

xiewang / React Native Emoticons

Licence: mit
react native emoticons(表情), including emoji😁

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
Emojikeyboard
自定义表情键盘(支持系统表情, 图片表情),仅供参考学习~
Stars: ✭ 33 (-72.27%)
Mutual labels:  keyboard, emoji
EmojiKeyBoard
自定义表情键盘(支持系统表情, 图片表情),仅供参考学习~
Stars: ✭ 36 (-69.75%)
Mutual labels:  emoji, keyboard
Ppstickerkeyboard
iOS 表情键盘
Stars: ✭ 377 (+216.81%)
Mutual labels:  keyboard, emoji
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
Agemojikeyboard
Emoji Keyboard for iOS
Stars: ✭ 686 (+476.47%)
Mutual labels:  keyboard, emoji
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
File Storage
File storage abstraction for Yii2
Stars: ✭ 116 (-2.52%)
Mutual labels:  storage
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

emoticons

latest screenshot sample

emoticons

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 attribute show will control that if the component is visible. The attribute onBackspacePress 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';
  1. 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]'
    
  2. 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 😁'
    
  3. splitter

    //this api is for backspace function
    const emoji = emoticons.splitter('emoji😁');
    console.log(emoji);
    
    //output
    ['e','m','o','j','i','😁']
    

Further

Support custom emoticons like weixin

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].