mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-11 20:27:12 +01:00
24 lines
541 B
JavaScript
24 lines
541 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const ConfirmPageContainerWarning = (props) => {
|
|
return (
|
|
<div className="confirm-page-container-warning">
|
|
<img
|
|
className="confirm-page-container-warning__icon"
|
|
src="/images/alert.svg"
|
|
alt=""
|
|
/>
|
|
<div className="confirm-page-container-warning__warning">
|
|
{props.warning}
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
ConfirmPageContainerWarning.propTypes = {
|
|
warning: PropTypes.string,
|
|
};
|
|
|
|
export default ConfirmPageContainerWarning;
|