import React from 'react'; import PropTypes from 'prop-types'; import { ALLOWED_EMOJI } from 'soapbox/utils/emoji_reacts'; import emojify from 'soapbox/features/emoji/emoji'; import classNames from 'classnames'; export default class EmojiSelector extends React.Component { static propTypes = { onReact: PropTypes.func.isRequired, visible: PropTypes.bool, } static defaultProps = { onReact: () => {}, visible: false, } render() { const { onReact, visible } = this.props; return (
{ALLOWED_EMOJI.map((emoji, i) => (
); } }