slack-reactor
v0.1.10
Published
Forked from the abandoned [react-reactions](https://github.com/casesandberg/react-reactions).
Downloads
11
Readme
slack-reactor
Forked from the abandoned react-reactions.
installation
yarn add slack-reactor
usage
import React from 'react'
import SlackSelector from 'slack-reactor'
const Component = () => <SlackSelector />
Props:
active
: string of active tab. defaults to mine
scrollHeight:
string pixel height of scroll container. defaults to 270px
removeEmojis
: array of emojis to remove from emoji list
frequent
: array of emojis to set frequently used. defaults to ['👍', '🐉', '🙌', '🗿', '😊', '🐬', '😹', '👻', '🚀', '🚁', '🏇', '🇨🇦']
onSelect
: callback when emoji is selected