mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
6535e34943
* replace all fa-icon-circle with INFO icon * updated classnames * updated classnames * updated snapshots * updated colors * resolved errors * fixed relative import * fixed lint errors * added story for alerts tab * update snapshot * updated info-circle * updated enum for iconName * removed classnames * updated iconName in settings * fixed lint errors and snapshots
26 lines
705 B
JavaScript
26 lines
705 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { Icon, IconName } from '../../../../component-library';
|
|
import { IconColor } from '../../../../../helpers/constants/design-system';
|
|
|
|
const ConfirmPageContainerWarning = (props) => {
|
|
return (
|
|
<div className="confirm-page-container-warning">
|
|
<Icon
|
|
name={IconName.Info}
|
|
color={IconColor.warningDefault}
|
|
className="confirm-page-container-warning__icon"
|
|
/>
|
|
<div className="confirm-page-container-warning__warning">
|
|
{props.warning}
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
ConfirmPageContainerWarning.propTypes = {
|
|
warning: PropTypes.string,
|
|
};
|
|
|
|
export default ConfirmPageContainerWarning;
|