1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Changes to custody-labels.js (#19038)

This commit is contained in:
Dhruv 2023-05-08 22:58:46 +05:30 committed by GitHub
parent 37b481f305
commit c4e7b5532d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,10 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Text, Label } from '../../component-library';
import {
TEXT_TRANSFORM,
TextTransform,
BackgroundColor,
TextColor,
FONT_WEIGHT,
FontWeight,
BorderRadius,
TypographyVariant,
} from '../../../helpers/constants/design-system';
@ -25,7 +25,7 @@ const CustodyLabels = (props) => {
{filteredLabels.map((item) => (
<Text
key={item.key}
textTransform={TEXT_TRANSFORM.UPPERCASE}
textTransform={TextTransform.Uppercase}
className="custody-label"
style={background ? { background } : {}}
marginTop={1}
@ -37,7 +37,7 @@ const CustodyLabels = (props) => {
paddingRight={2}
backgroundColor={BackgroundColor.backgroundAlternative}
color={TextColor.textMuted}
fontWeight={FONT_WEIGHT.NORMAL}
fontWeight={FontWeight.Normal}
borderRadius={BorderRadius.SM}
variant={TypographyVariant.H9}
>