mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 07:24:56 +01:00
512b9bdf76
* header warning changes * updated warning message * Updated button color * add rounded corners * text + style changes * cleanup * linter fixes * remove console.log * break out components * remove unused css * use icon name var * improve icon styling * remove unused styles * Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js Co-authored-by: George Marshall <georgewrmarshall@gmail.com> * Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js Co-authored-by: George Marshall <georgewrmarshall@gmail.com> * use design system fonts * remove unused fonts * moved tooltip to parent component * remove domain call * updated stories * classname cleanup * fix locales * remove unused locales * Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js Co-authored-by: George Marshall <georgewrmarshall@gmail.com> Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
26 lines
664 B
JavaScript
26 lines
664 B
JavaScript
import React from 'react';
|
|
import {
|
|
DISPLAY,
|
|
ALIGN_ITEMS,
|
|
COLORS,
|
|
JUSTIFY_CONTENT,
|
|
} from '../../../../helpers/constants/design-system';
|
|
import Box from '../../../ui/box';
|
|
import { Icon, ICON_NAMES } from '../../../component-library/icon';
|
|
|
|
const SignatureRequestSIWEIcon = () => {
|
|
return (
|
|
<Box
|
|
className="signature-request-siwe-icon"
|
|
display={DISPLAY.INLINE_FLEX}
|
|
alignItems={ALIGN_ITEMS.CENTER}
|
|
backgroundColor={COLORS.ERROR_DEFAULT}
|
|
justifyContent={JUSTIFY_CONTENT.CENTER}
|
|
>
|
|
<Icon name={ICON_NAMES.DANGER_FILLED} color={COLORS.ERROR_INVERSE} />
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default SignatureRequestSIWEIcon;
|