src/Components/BidListMessages/UnregisterSuccess.jsx
import PropTypes from 'prop-types';
import InteractiveElement from '../InteractiveElement';
const UnregisterSuccess = ({ undo }) => (
<span>
Handshake successfully unregistered.
<InteractiveElement
type="a"
onClick={undo}
>
Undo
</InteractiveElement>.
</span>
);
UnregisterSuccess.propTypes = {
undo: PropTypes.func.isRequired,
};
export default UnregisterSuccess;