1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/signature-request-siwe/signature-request-siwe-icon/index.js
Dhruv 674bb131b2
Part of #18714: Replacing deprecated constants (#20003)
* replacing deprecated constants

* updating Box in player.js

* created story for Player.js
2023-07-19 15:08:06 +05:30

25 lines
608 B
JavaScript

import React from 'react';
import {
Display,
AlignItems,
Color,
JustifyContent,
} from '../../../../helpers/constants/design-system';
import { Icon, IconName, Box } from '../../../component-library';
const SignatureRequestSIWEIcon = () => {
return (
<Box
className="signature-request-siwe-icon"
display={Display.InlineFlex}
alignItems={AlignItems.center}
backgroundColor={Color.errorDefault}
justifyContent={JustifyContent.center}
>
<Icon name={IconName.Danger} color={Color.errorInverse} />
</Box>
);
};
export default SignatureRequestSIWEIcon;