mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
739075662c
* Migrating Icon to typescript and deprecating JS component * gw suggestions (#18434) --------- Co-authored-by: Garrett Bear <gwhisten@gmail.com>
26 lines
659 B
JavaScript
26 lines
659 B
JavaScript
import React from 'react';
|
|
import {
|
|
DISPLAY,
|
|
AlignItems,
|
|
Color,
|
|
JustifyContent,
|
|
} from '../../../../helpers/constants/design-system';
|
|
import Box from '../../../ui/box';
|
|
import { Icon, ICON_NAMES } from '../../../component-library/icon/deprecated';
|
|
|
|
const SignatureRequestSIWEIcon = () => {
|
|
return (
|
|
<Box
|
|
className="signature-request-siwe-icon"
|
|
display={DISPLAY.INLINE_FLEX}
|
|
alignItems={AlignItems.center}
|
|
backgroundColor={Color.errorDefault}
|
|
justifyContent={JustifyContent.center}
|
|
>
|
|
<Icon name={ICON_NAMES.DANGER} color={Color.errorInverse} />
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default SignatureRequestSIWEIcon;
|