import React from 'react'; import PropTypes from 'prop-types'; import { SendButton, AudioButton, FileButton } from './buttons'; const RightButtons = React.memo(({ theme, showSend, submit, recordAudioMessage, showFileActions }) => { if (showSend) { return ; } return ( <> ); }); RightButtons.propTypes = { theme: PropTypes.string, showSend: PropTypes.bool, submit: PropTypes.func.isRequired, recordAudioMessage: PropTypes.func.isRequired, showFileActions: PropTypes.func.isRequired }; export default RightButtons;