import {Actions, React, ReactDOM} from 'nylas-exports';
import {RetinaImg} from 'nylas-component-kit';
import EmojiButtonPopover from './emoji-button-popover';
class EmojiButton extends React.Component {
static displayName = 'EmojiButton';
constructor() {
super();
}
onClick = ()=> {
const buttonRect = ReactDOM.findDOMNode(this).getBoundingClientRect();
Actions.openPopover(
,
{originRect: buttonRect, direction: 'up'}
)
}
render() {
return (
);
}
}
EmojiButton.containerStyles = {
order: 2,
};
export default EmojiButton;