refactor(icons): 迁移 components 目录图标到 lucide-react
- @chakra-ui/icons → lucide-react - react-icons → lucide-react - 涉及 49 个组件文件 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
useToast,
|
||||
Icon,
|
||||
} from '@chakra-ui/react';
|
||||
import { FiExternalLink, FiCopy, FiCheck } from 'react-icons/fi';
|
||||
import { ExternalLink, Copy, Check } from 'lucide-react';
|
||||
import { isIOSDevice } from './hooks/useWechatEnvironment';
|
||||
|
||||
// 小程序 AppID
|
||||
@@ -145,7 +145,7 @@ const UrlSchemeLauncher = ({
|
||||
isLoading={loading}
|
||||
loadingText="正在跳转..."
|
||||
colorScheme="green"
|
||||
leftIcon={<Icon as={FiExternalLink} />}
|
||||
leftIcon={<Icon as={ExternalLink} />}
|
||||
style={buttonStyle}
|
||||
{...buttonProps}
|
||||
>
|
||||
@@ -186,7 +186,7 @@ const UrlSchemeLauncher = ({
|
||||
colorScheme="green"
|
||||
width="100%"
|
||||
onClick={handleRetry}
|
||||
leftIcon={<Icon as={FiExternalLink} />}
|
||||
leftIcon={<Icon as={ExternalLink} />}
|
||||
>
|
||||
打开微信
|
||||
</Button>
|
||||
@@ -194,7 +194,7 @@ const UrlSchemeLauncher = ({
|
||||
variant="outline"
|
||||
width="100%"
|
||||
onClick={handleCopy}
|
||||
leftIcon={<Icon as={copied ? FiCheck : FiCopy} />}
|
||||
leftIcon={<Icon as={copied ? Check : Copy} />}
|
||||
>
|
||||
{copied ? '已复制' : '复制链接'}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user