1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 04:37:13 +01:00
metamask-extension/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js
George Marshall 8ef28702f2
Dark Mode: more icon updates (#14064)
* Updating settings icons to use fontawesome and removing unused svgs

* Updating more icons to use font-awesome icons and removing unused svgs
2022-03-21 08:29:57 -07:00

20 lines
496 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
const ConfirmPageContainerWarning = (props) => {
return (
<div className="confirm-page-container-warning">
<i className="fa fa-info-circle confirm-page-container-warning__icon" />
<div className="confirm-page-container-warning__warning">
{props.warning}
</div>
</div>
);
};
ConfirmPageContainerWarning.propTypes = {
warning: PropTypes.string,
};
export default ConfirmPageContainerWarning;