Skip to content

Commit d491ceb

Browse files
committed
feat: wallet png
1 parent 5043ef5 commit d491ceb

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

12.9 KB
Loading

src/components/stateless/StatisticCard/index.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ import styles from './index.module.less'
44

55
import iconQuestion from './icons/icon-question.png'
66
import iconBook from './icons/book.png'
7+
import iconWallet from './icons/wallet.png'
78

89
const defaultIcons = {
910
book: iconBook,
11+
wallet: iconWallet,
12+
question: iconQuestion,
1013
}
1114

1215
const StatisticCard = ({
@@ -24,7 +27,7 @@ const StatisticCard = ({
2427
title: '同比增长',
2528
value: 20,
2629
unit: '%',
27-
icon: 'book',
30+
icon: 'wallet',
2831
showTooltip: false,
2932
},
3033
],

0 commit comments

Comments
 (0)