import React from 'react';
import PropTypes from 'prop-types';
import BaseButton from './BaseButton';
const ToggleEmojiButton = React.memo(({ show, open, close }) => {
if (show) {
return (
);
}
return (
);
});
ToggleEmojiButton.propTypes = {
show: PropTypes.bool,
open: PropTypes.func.isRequired,
close: PropTypes.func.isRequired
};
export default ToggleEmojiButton;