|
1 | 1 | import { FC } from 'react' |
2 | 2 | import { useTranslation } from 'react-i18next' |
3 | 3 | import { TFunction } from 'i18next' |
4 | | -import StreamIcon from '@mui/icons-material/Stream' |
5 | | -import LocalFireDepartmentIcon from '@mui/icons-material/LocalFireDepartment' |
6 | | -import ApprovalIcon from '@mui/icons-material/Approval' |
7 | | -import { ArrowRight } from 'lucide-react' |
8 | | -import QuestionMarkIcon from '@mui/icons-material/QuestionMark' |
| 4 | +import { ArrowRight, Flame, CircleHelp, Stamp } from 'lucide-react' |
9 | 5 | import { MethodIcon } from '../ConsensusTransactionMethod' |
| 6 | +import { Stream } from '../CustomIcons/Stream' |
10 | 7 |
|
11 | 8 | const getTokenTransferLabel = (t: TFunction, name: string | undefined): string => { |
12 | 9 | switch (name) { |
@@ -42,13 +39,13 @@ const getTokenTransferIcon = ( |
42 | 39 | case 'Transfer': |
43 | 40 | return <MethodIcon color="green" icon={<ArrowRight />} {...props} /> |
44 | 41 | case 'Approval': |
45 | | - return <MethodIcon color="green" icon={<ApprovalIcon />} {...props} /> |
| 42 | + return <MethodIcon color="green" icon={<Stamp />} {...props} /> |
46 | 43 | case 'Minting': |
47 | | - return <MethodIcon color="green" icon={<StreamIcon />} {...props} /> |
| 44 | + return <MethodIcon color="green" icon={<Stream />} {...props} /> |
48 | 45 | case 'Burning': |
49 | | - return <MethodIcon color="orange" icon={<LocalFireDepartmentIcon />} {...props} /> |
| 46 | + return <MethodIcon color="orange" icon={<Flame />} {...props} /> |
50 | 47 | default: |
51 | | - return <MethodIcon color="gray" icon={<QuestionMarkIcon />} {...props} /> |
| 48 | + return <MethodIcon color="gray" icon={<CircleHelp />} {...props} /> |
52 | 49 | } |
53 | 50 | } |
54 | 51 |
|
|
0 commit comments