refactor(icons): 迁移其他 views 目录图标到 lucide-react
- views/Center, views/Community, views/DataBrowser 等 - views/EventDetail, views/LimitAnalyse, views/StockOverview - views/TradingSimulation, views/Pages, views/Authentication - views/Profile, views/Settings - 处理 Tag/TagIcon 命名冲突 - 涉及 52 个组件文件 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -41,13 +41,12 @@ import TransactionRow from 'components/Tables/TransactionRow';
|
||||
import React from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import {
|
||||
FaPaypal,
|
||||
FaPencilAlt,
|
||||
FaRegCalendarAlt,
|
||||
FaWallet,
|
||||
FaGem,
|
||||
} from 'react-icons/fa';
|
||||
import { RiMastercardFill } from 'react-icons/ri';
|
||||
Wallet,
|
||||
Edit2,
|
||||
Calendar,
|
||||
Gem,
|
||||
CreditCard,
|
||||
} from 'lucide-react';
|
||||
import {
|
||||
billingData,
|
||||
invoicesData,
|
||||
@@ -101,7 +100,7 @@ function Billing() {
|
||||
Argon x Chakra
|
||||
</Text>
|
||||
<Icon
|
||||
as={RiMastercardFill}
|
||||
as={CreditCard}
|
||||
w='48px'
|
||||
h='auto'
|
||||
color='gray.400'
|
||||
@@ -134,7 +133,7 @@ function Billing() {
|
||||
<Card p='16px' display='flex' align='center' justify='center'>
|
||||
<Flex direction='column' align='center' w='100%' py='14px'>
|
||||
<IconBox h={'60px'} w={'60px'} bg={iconBlue}>
|
||||
<Icon h={'24px'} w={'24px'} color='white' as={FaWallet} />
|
||||
<Icon h={'24px'} w={'24px'} color='white' as={Wallet} />
|
||||
</IconBox>
|
||||
<Flex
|
||||
direction='column'
|
||||
@@ -171,7 +170,7 @@ function Billing() {
|
||||
py='14px'
|
||||
>
|
||||
<IconBox h={'60px'} w={'60px'} bg='purple.500'>
|
||||
<Icon h={'24px'} w={'24px'} color='white' as={FaGem} />
|
||||
<Icon h={'24px'} w={'24px'} color='white' as={Gem} />
|
||||
</IconBox>
|
||||
<Flex
|
||||
direction='column'
|
||||
@@ -248,7 +247,7 @@ function Billing() {
|
||||
<Spacer />
|
||||
<Button p='0px' w='16px' h='16px' variant='no-effects'>
|
||||
<Icon
|
||||
as={FaPencilAlt}
|
||||
as={Edit2}
|
||||
color={colorMode === 'dark' && 'white'}
|
||||
/>
|
||||
</Button>
|
||||
@@ -277,7 +276,7 @@ function Billing() {
|
||||
variant='no-effects'
|
||||
>
|
||||
<Icon
|
||||
as={FaPencilAlt}
|
||||
as={Edit2}
|
||||
color={colorMode === 'dark' && 'white'}
|
||||
/>
|
||||
</Button>
|
||||
@@ -369,7 +368,7 @@ function Billing() {
|
||||
</Text>
|
||||
<Flex align='center'>
|
||||
<Icon
|
||||
as={FaRegCalendarAlt}
|
||||
as={Calendar}
|
||||
color='gray.400'
|
||||
fontSize='md'
|
||||
me='6px'
|
||||
|
||||
Reference in New Issue
Block a user