import React from 'react'; import PropTypes from 'prop-types'; const ConductionStatusHr = (props) => { const { errorCount, totalCount } = props; return ( <> {errorCount === 0 && totalCount !== 0 &&
} {errorCount === totalCount &&
} {errorCount >= 1 && errorCount < totalCount &&
} ); }; ConductionStatusHr.propTypes = { errorCount: PropTypes.number.isRequired, totalCount: PropTypes.number.isRequired, }; export default ConductionStatusHr;