MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/BidListMessages/UnregisterSuccess.jsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import PropTypes from 'prop-types';
import InteractiveElement from '../InteractiveElement';

const UnregisterSuccess = ({ undo }) => (
  <span>
    Handshake successfully unregistered.&nbsp;
    <InteractiveElement
      type="a"
      onClick={undo}
    >
        Undo
    </InteractiveElement>.
  </span>
);

UnregisterSuccess.propTypes = {
  undo: PropTypes.func.isRequired,
};

export default UnregisterSuccess;