mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
updated tag icon (#17540)
This commit is contained in:
parent
14f3e16991
commit
41d3dcc8a3
@ -1,4 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import { Icon, ICON_NAMES } from '../../component-library';
|
||||||
import ApproveContentCard from './approve-content-card';
|
import ApproveContentCard from './approve-content-card';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -71,7 +72,7 @@ export default {
|
|||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
showHeader: true,
|
showHeader: true,
|
||||||
symbol: <i className="fa fa-tag" />,
|
symbol: <Icon name={ICON_NAMES.TAG} />,
|
||||||
title: 'Transaction fee',
|
title: 'Transaction fee',
|
||||||
showEdit: true,
|
showEdit: true,
|
||||||
showAdvanceGasFeeOptions: true,
|
showAdvanceGasFeeOptions: true,
|
||||||
|
@ -27,7 +27,11 @@ import LedgerInstructionField from '../../../components/app/ledger-instruction-f
|
|||||||
import { TokenStandard } from '../../../../shared/constants/transaction';
|
import { TokenStandard } from '../../../../shared/constants/transaction';
|
||||||
import { CHAIN_IDS, TEST_CHAINS } from '../../../../shared/constants/network';
|
import { CHAIN_IDS, TEST_CHAINS } from '../../../../shared/constants/network';
|
||||||
import ContractDetailsModal from '../../../components/app/modals/contract-details-modal/contract-details-modal';
|
import ContractDetailsModal from '../../../components/app/modals/contract-details-modal/contract-details-modal';
|
||||||
import { ICON_NAMES, ButtonIcon } from '../../../components/component-library';
|
import {
|
||||||
|
ICON_NAMES,
|
||||||
|
ButtonIcon,
|
||||||
|
Icon,
|
||||||
|
} from '../../../components/component-library';
|
||||||
|
|
||||||
export default class ConfirmApproveContent extends Component {
|
export default class ConfirmApproveContent extends Component {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
@ -601,7 +605,7 @@ export default class ConfirmApproveContent extends Component {
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
{this.renderApproveContentCard({
|
{this.renderApproveContentCard({
|
||||||
symbol: <i className="fa fa-tag" />,
|
symbol: <Icon name={ICON_NAMES.TAG} />,
|
||||||
title: t('transactionFee'),
|
title: t('transactionFee'),
|
||||||
showEdit: true,
|
showEdit: true,
|
||||||
showAdvanceGasFeeOptions: true,
|
showAdvanceGasFeeOptions: true,
|
||||||
|
@ -60,6 +60,7 @@ import {
|
|||||||
import { ConfirmPageContainerNavigation } from '../../components/app/confirm-page-container';
|
import { ConfirmPageContainerNavigation } from '../../components/app/confirm-page-container';
|
||||||
import { useSimulationFailureWarning } from '../../hooks/useSimulationFailureWarning';
|
import { useSimulationFailureWarning } from '../../hooks/useSimulationFailureWarning';
|
||||||
import SimulationErrorMessage from '../../components/ui/simulation-error-message';
|
import SimulationErrorMessage from '../../components/ui/simulation-error-message';
|
||||||
|
import { Icon, ICON_NAMES } from '../../components/component-library';
|
||||||
|
|
||||||
export default function TokenAllowance({
|
export default function TokenAllowance({
|
||||||
origin,
|
origin,
|
||||||
@ -418,7 +419,7 @@ export default function TokenAllowance({
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
<ApproveContentCard
|
<ApproveContentCard
|
||||||
symbol={<i className="fa fa-tag" />}
|
symbol={<Icon name={ICON_NAMES.TAG} />}
|
||||||
title={t('transactionFee')}
|
title={t('transactionFee')}
|
||||||
showEdit
|
showEdit
|
||||||
showAdvanceGasFeeOptions
|
showAdvanceGasFeeOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user