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:
@@ -46,9 +46,7 @@ import IconBox from "components/Icons/IconBox";
|
||||
import { CartIcon, RocketIcon } from "components/Icons/Icons";
|
||||
import TablesReportsRow from "components/Tables/TablesReportsRow";
|
||||
import React from "react";
|
||||
import { AiFillLike } from "react-icons/ai";
|
||||
import { FaUser } from "react-icons/fa";
|
||||
import { IoEllipsisHorizontalSharp } from "react-icons/io5";
|
||||
import { ThumbsUp, User, MoreHorizontal } from "lucide-react";
|
||||
import { tablesReportsData } from "variables/general";
|
||||
|
||||
function Reports() {
|
||||
@@ -108,12 +106,12 @@ function Reports() {
|
||||
>
|
||||
<Flex justify="space-between" w="100%">
|
||||
<IconBox bg="#fff" w="50px" h="50px">
|
||||
<Icon as={FaUser} w="25px" h="25px" color="blue.900" />
|
||||
<Icon as={User} w="25px" h="25px" color="blue.900" />
|
||||
</IconBox>
|
||||
<Menu isOpen={isOpen1} onClose={onClose1}>
|
||||
<MenuButton onClick={onOpen1} alignSelf="flex-start">
|
||||
<Icon
|
||||
as={IoEllipsisHorizontalSharp}
|
||||
as={MoreHorizontal}
|
||||
color={iconColor}
|
||||
w="20px"
|
||||
h="20px"
|
||||
@@ -173,7 +171,7 @@ function Reports() {
|
||||
<Menu isOpen={isOpen2} onClose={onClose2}>
|
||||
<MenuButton onClick={onOpen2} alignSelf="flex-start">
|
||||
<Icon
|
||||
as={IoEllipsisHorizontalSharp}
|
||||
as={MoreHorizontal}
|
||||
color={iconColor}
|
||||
w="20px"
|
||||
h="20px"
|
||||
@@ -233,7 +231,7 @@ function Reports() {
|
||||
<Menu isOpen={isOpen3} onClose={onClose3}>
|
||||
<MenuButton onClick={onOpen3} alignSelf="flex-start">
|
||||
<Icon
|
||||
as={IoEllipsisHorizontalSharp}
|
||||
as={MoreHorizontal}
|
||||
color={iconColor}
|
||||
w="20px"
|
||||
h="20px"
|
||||
@@ -289,12 +287,12 @@ function Reports() {
|
||||
>
|
||||
<Flex justify="space-between" w="100%">
|
||||
<IconBox bg="#fff" w="50px" h="50px">
|
||||
<Icon as={AiFillLike} w="25px" h="25px" color="blue.900" />
|
||||
<Icon as={ThumbsUp} w="25px" h="25px" color="blue.900" />
|
||||
</IconBox>
|
||||
<Menu isOpen={isOpen4} onClose={onClose4}>
|
||||
<MenuButton onClick={onOpen4} alignSelf="flex-start">
|
||||
<Icon
|
||||
as={IoEllipsisHorizontalSharp}
|
||||
as={MoreHorizontal}
|
||||
color={iconColor}
|
||||
w="20px"
|
||||
h="20px"
|
||||
|
||||
Reference in New Issue
Block a user