mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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 React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Box from '../../ui/box';
|
import Box from '../../ui/box';
|
||||||
import Typography from '../../ui/typography';
|
|
||||||
import Tooltip from '../../ui/tooltip';
|
import Tooltip from '../../ui/tooltip';
|
||||||
import {
|
import {
|
||||||
TextColor,
|
TextColor,
|
||||||
DISPLAY,
|
DISPLAY,
|
||||||
TypographyVariant,
|
TextVariant,
|
||||||
} from '../../../helpers/constants/design-system';
|
} from '../../../helpers/constants/design-system';
|
||||||
import { Icon, IconName, IconSize } from '../../component-library';
|
|
||||||
|
import { Icon, IconName, IconSize, Text } from '../../component-library';
|
||||||
|
|
||||||
export const CustomSpendingCapTooltip = ({
|
export const CustomSpendingCapTooltip = ({
|
||||||
tooltipContentText,
|
tooltipContentText,
|
||||||
@ -19,14 +19,15 @@ export const CustomSpendingCapTooltip = ({
|
|||||||
interactive
|
interactive
|
||||||
position="top"
|
position="top"
|
||||||
html={
|
html={
|
||||||
<Typography
|
<Text
|
||||||
variant={TypographyVariant.H7}
|
variant={TextVariant.bodySm}
|
||||||
|
as="h6"
|
||||||
margin={3}
|
margin={3}
|
||||||
color={TextColor.textAlternative}
|
color={TextColor.textAlternative}
|
||||||
className="form-field__heading-title__tooltip"
|
className="form-field__heading-title__tooltip"
|
||||||
>
|
>
|
||||||
{tooltipContentText}
|
{tooltipContentText}
|
||||||
</Typography>
|
</Text>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{tooltipIcon ? (
|
{tooltipIcon ? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user