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:
parent
9ddbd9b4e7
commit
9fcbc554b0
@ -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 ? (
|
||||
|
Loading…
Reference in New Issue
Block a user