diff --git a/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.js b/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.js index 00a25e36e704..9e7c267dd483 100644 --- a/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.js +++ b/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.js @@ -1,12 +1,12 @@ import React from 'react'; import { useSelector } from 'react-redux'; -import { TypographyVariant } from '../../../../helpers/constants/design-system'; +import { TextVariant } from '../../../../helpers/constants/design-system'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import { getIsMainnet } from '../../../../selectors'; import Box from '../../../ui/box'; import InfoTooltip from '../../../ui/info-tooltip/info-tooltip'; -import Typography from '../../../ui/typography/typography'; +import { Text } from '../../../component-library'; const GasDetailsItemTitle = () => { const t = useI18nContext(); @@ -21,15 +21,15 @@ const GasDetailsItemTitle = () => { - + {t('transactionDetailGasTooltipIntro', [ isMainnet ? t('networkNameEthereum') : '', ])} - - + + {t('transactionDetailGasTooltipExplanation')} - - + + { > {t('transactionDetailGasTooltipConversion')} - + } position="bottom" diff --git a/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.stories.js b/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.stories.js new file mode 100644 index 000000000000..33978b4074ac --- /dev/null +++ b/ui/components/app/gas-details-item/gas-details-item-title/gas-details-item-title.stories.js @@ -0,0 +1,10 @@ +import React from 'react'; +import GasDetailsItemTitle from '.'; + +export default { + title: 'Components/App/GasDetailsItemTitle', +}; + +export const DefaultStory = () => ; + +DefaultStory.storyName = 'Default'; diff --git a/ui/components/app/gas-details-item/gas-details-item.stories.js b/ui/components/app/gas-details-item/gas-details-item.stories.js new file mode 100644 index 000000000000..f676c77860f0 --- /dev/null +++ b/ui/components/app/gas-details-item/gas-details-item.stories.js @@ -0,0 +1,10 @@ +import React from 'react'; +import GasDetailsItem from '.'; + +export default { + title: 'Components/App/GasDetailsItem', +}; + +export const DefaultStory = () => ; + +DefaultStory.storyName = 'Default';