New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

react-native-emoji-picker

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-emoji-picker

Simple emoji picker for react-native

0.1.0
Version published
Weekly downloads
254
2.42%
Maintainers
1
Weekly downloads
 
Created

Emoji picker for react-native

Powered by the awesome emojilib

Installation

npm install react-native-emoji-picker

Usage example

const EmojiPicker = require('react-native-emoji-picker');

class Overlay extends React.Component {
  _emojiSelected(emoji) {
    console.log(emoji)
  }

  render() {
    return (
      <View style={styles.container}>
        <EmojiPicker 
          style={styles.emojiPicker} 
          horizontal={true}
          onEmojiSelected={this._emojiSelected}/>
      </View>
    );
  }
}

Component props

  • onEmojiSelected (Function) - Required. Called when the user taps on an emoji.
  • horizontal (Bool) - Optional. Should the list of emojis scroll horizontally or vertically (default)
  • style (Object) - Optional. Standard view style for the enclosing component
  • clearButtonText (String) - Optional. Alternate text for the clear button. Defaults to 'Clear'.
  • hideClearButton (Bool) - Optional. Hide the clear button.
  • listViewProps (Object) - Optional. Override default ListView props.

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts