feat(ui): replace emoji icons with lucide-react icon components
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
* 视觉:
|
||||
* - 默认:粉色背景 + 渐变边缘
|
||||
* - 聚焦 / 激活:完整 primaryGradient(accent → 透明)
|
||||
*
|
||||
* 图标:lucide-react <Send />(tree-shakable,currentColor 继承父 color)
|
||||
*/
|
||||
import { ArrowUp, Send } from "lucide-react";
|
||||
|
||||
import styles from "./chat-send-button.module.css";
|
||||
|
||||
export interface ChatSendButtonProps {
|
||||
@@ -24,9 +28,7 @@ export function ChatSendButton({ disabled, onClick }: ChatSendButtonProps) {
|
||||
onClick={onClick}
|
||||
aria-label="Send message"
|
||||
>
|
||||
<span className={styles.icon} aria-hidden="true">
|
||||
↑
|
||||
</span>
|
||||
<ArrowUp className={styles.icon} size={24} aria-hidden="true" />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user