refactor(icons): 迁移 views/Company 目录图标到 lucide-react
- @chakra-ui/icons → lucide-react - react-icons → lucide-react - IconType → LucideIcon 类型替换 - 涉及 50 个组件文件 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
import React, { useState, useEffect, useMemo, useCallback, memo, lazy } from 'react';
|
||||
import { Card, CardBody } from '@chakra-ui/react';
|
||||
import { FaNewspaper, FaBullhorn, FaCalendarAlt, FaChartBar } from 'react-icons/fa';
|
||||
import { Newspaper, Megaphone, Calendar, BarChart2 } from 'lucide-react';
|
||||
|
||||
import SubTabContainer from '@components/SubTabContainer';
|
||||
import {
|
||||
@@ -29,28 +29,28 @@ const TRACKING_TABS = [
|
||||
{
|
||||
key: 'news',
|
||||
name: '新闻动态',
|
||||
icon: FaNewspaper,
|
||||
icon: Newspaper,
|
||||
component: NewsPanel,
|
||||
fallback: <NewsPanelSkeleton />,
|
||||
},
|
||||
{
|
||||
key: 'announcements',
|
||||
name: '公司公告',
|
||||
icon: FaBullhorn,
|
||||
icon: Megaphone,
|
||||
component: AnnouncementsPanel,
|
||||
fallback: <AnnouncementsSkeleton />,
|
||||
},
|
||||
{
|
||||
key: 'disclosure',
|
||||
name: '财报披露日程',
|
||||
icon: FaCalendarAlt,
|
||||
icon: Calendar,
|
||||
component: DisclosureSchedulePanel,
|
||||
fallback: <DisclosureScheduleSkeleton />,
|
||||
},
|
||||
{
|
||||
key: 'forecast',
|
||||
name: '业绩预告',
|
||||
icon: FaChartBar,
|
||||
icon: BarChart2,
|
||||
component: ForecastPanel,
|
||||
fallback: <ForecastPanelSkeleton />,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user