reactjs-emoji-keyboard
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

ReactJS Emoji Keyboard | Playground

An emoji keyboard component for ReactJS.

Novo Projeto (10)

Installation

npm install reactjs-emoji-keyboard

or

yarn add reactjs-emoji-keyboard

Usage

import { EmojiKeyboard } from "reactjs-emoji-keyboard";

function App() {
  
  return (
    <EmojiKeyboard
      height={320}
      width={350}
      theme="dark"
      searchLabel="Procurar emoji"
      searchDisabled={false}
      onEmojiSelect={(emoji) =>console.log(emoji)}          
      categoryDisabled={false}
    />
  );
}

Features

  • 🌙 Dark theme
  • 🎨 Customizable
  • 🖱️ Customizable click handler

Props

Prop Type Default Description
searchDisabled boolean false Show/hide emoji search bar
categoryDisabled boolean false Show/hide emoji categories
searchLabel string Procurar emoji Change the emoji search input label
onEmojiSelect function false Function executed when an emoji is selected
theme "ligh", "dark" "light" Sets the emoji keyboard theme
width number 320 Sets the emoji keyboard width
height number 350 Sets the emoji keyboard height
containerStyle style - Applies the style to the main keyboard container
searchStyle style - Applies the style to the search container

Package Sidebar

Install

npm i reactjs-emoji-keyboard

Weekly Downloads

12

Version

1.0.17

License

none

Unpacked Size

12.5 MB

Total Files

43

Last publish

Collaborators

  • robianchini