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

Some linting issues in the file custom spending cap tooltip.js (#18687)

Co-authored-by: George Marshall <george.marshall@consensys.net>
This commit is contained in:
Harsh Shukla 2023-04-24 21:22:57 +05:30 committed by GitHub
parent 9ddbd9b4e7
commit 9fcbc554b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
import React from 'react';
import PropTypes from 'prop-types';
import Box from '../../ui/box';
import Typography from '../../ui/typography';
import Tooltip from '../../ui/tooltip';
import {
TextColor,
DISPLAY,
TypographyVariant,
TextVariant,
} from '../../../helpers/constants/design-system';
import { Icon, IconName, IconSize } from '../../component-library';
import { Icon, IconName, IconSize, Text } from '../../component-library';
export const CustomSpendingCapTooltip = ({
tooltipContentText,
@ -19,14 +19,15 @@ export const CustomSpendingCapTooltip = ({
interactive
position="top"
html={
<Typography
variant={TypographyVariant.H7}
<Text
variant={TextVariant.bodySm}
as="h6"
margin={3}
color={TextColor.textAlternative}
className="form-field__heading-title__tooltip"
>
{tooltipContentText}
</Typography>
</Text>
}
>
{tooltipIcon ? (