2021-02-04 19:15:23 +01:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2020-02-15 21:34:12 +01:00
|
|
|
const ConfirmPageContainerWarning = (props) => {
|
2018-06-23 08:52:45 +02:00
|
|
|
return (
|
|
|
|
<div className="confirm-page-container-warning">
|
|
|
|
<img
|
|
|
|
className="confirm-page-container-warning__icon"
|
2021-05-25 02:20:09 +02:00
|
|
|
src="./images/alert.svg"
|
2020-11-11 16:38:15 +01:00
|
|
|
alt=""
|
2018-06-23 08:52:45 +02:00
|
|
|
/>
|
|
|
|
<div className="confirm-page-container-warning__warning">
|
2020-11-03 00:41:28 +01:00
|
|
|
{props.warning}
|
2018-06-23 08:52:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-04 19:15:23 +01:00
|
|
|
);
|
|
|
|
};
|
2018-06-23 08:52:45 +02:00
|
|
|
|
|
|
|
ConfirmPageContainerWarning.propTypes = {
|
|
|
|
warning: PropTypes.string,
|
2021-02-04 19:15:23 +01:00
|
|
|
};
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export default ConfirmPageContainerWarning;
|