import React from 'react'; import {Button} from 'coral-ui'; import PropTypes from 'prop-types'; import t from 'coral-framework/services/i18n'; const CloseCommentsInfo = ({status, onClick}) => ( status === 'open' ? (

{t('configure.open_stream_configuration')}

) : (

{t('configure.close_stream_configuration')}

) ); CloseCommentsInfo.propTypes = { status: PropTypes.string, onClick: PropTypes.func, }; export default CloseCommentsInfo;