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:
@@ -1,19 +1,19 @@
|
||||
// src/views/Company/constants/index.js
|
||||
// 公司详情页面常量配置
|
||||
|
||||
import { FaChartLine, FaMoneyBillWave, FaChartBar, FaInfoCircle, FaBrain, FaNewspaper } from 'react-icons/fa';
|
||||
import { LineChart, Banknote, BarChart2, Info, Brain, Newspaper } from 'lucide-react';
|
||||
|
||||
/**
|
||||
* Tab 配置
|
||||
* @type {Array<{key: string, name: string, icon: React.ComponentType}>}
|
||||
*/
|
||||
export const COMPANY_TABS = [
|
||||
{ key: 'overview', name: '公司档案', icon: FaInfoCircle },
|
||||
{ key: 'analysis', name: '深度分析', icon: FaBrain },
|
||||
{ key: 'market', name: '股票行情', icon: FaChartLine },
|
||||
{ key: 'financial', name: '财务全景', icon: FaMoneyBillWave },
|
||||
{ key: 'forecast', name: '盈利预测', icon: FaChartBar },
|
||||
{ key: 'tracking', name: '动态跟踪', icon: FaNewspaper },
|
||||
{ key: 'overview', name: '公司档案', icon: Info },
|
||||
{ key: 'analysis', name: '深度分析', icon: Brain },
|
||||
{ key: 'market', name: '股票行情', icon: LineChart },
|
||||
{ key: 'financial', name: '财务全景', icon: Banknote },
|
||||
{ key: 'forecast', name: '盈利预测', icon: BarChart2 },
|
||||
{ key: 'tracking', name: '动态跟踪', icon: Newspaper },
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user