Socket
Socket
Sign inDemoInstall

chayns-emoji-picker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chayns-emoji-picker

chayns-emoji-picker An emoji-picker for use within chayns® applications built with React. <a href="https://github.com/tobitsoftware/chayns-emoji-picker/blob/main/L


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

chayns-emoji-picker

An emoji-picker for use within chayns® applications built with React.

MIT License npm version Open GitHub issues

Get Started Documentation Contributing


chayns-emoji-picker is a fully-featured and accessible emoji-picker for chayns® applications. It is built and meant to be used with React.

The component in action

❯ Get Started

First off, install the package:

# Yarn
yarn add chayns-emoji-picker

# NPM
npm install chayns-emoji-picker

Now, you can import the <EmojiPicker> component into your components:

import React, { ReactElement } from 'react';
import { EmojiPicker } from 'chayns-emoji-picker';

export function MyComponent() {
    const [showEmojiPicker, setShowEmojiPicker] = useState(false);

    function handleOpenEmojiPicker() {
        setShowEmojiPicker(true);
    }

    function handleCloseEmojiPicker() {
        setShowEmojiPicker(false);
    }

    return (
        <button
            style={{ position: 'relative' }}
            onClick={handleOpenEmojiPicker}
        >
            Show Emoji-Picker
            <EmojiPicker
                show={showEmojiPicker}
                onHide={handleCloseEmojiPicker}
            />
        </button>
    );
}

For a full reference and documentation of all props, visit the docs.


❯ Documentation

Visit tobitsoftware.github.io/chayns-emoji-picker/ to read the full documentation.


❯ Contributing

You can find information about contributing to the project in our CONTRIBUTING.md document.

FAQs

Package last updated on 31 Mar 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc