feat: change to lucide Icons

This commit is contained in:
Li Xin
2025-04-20 21:32:56 +08:00
parent 81b1dbfefb
commit 2f6b6a1d8d
6 changed files with 40 additions and 47 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
// SPDX-License-Identifier: MIT
import { CheckOutlined, CopyOutlined } from "@ant-design/icons";
import { Check, Copy } from "lucide-react";
import { useMemo, useState } from "react";
import ReactMarkdown, {
type Options as ReactMarkdownOptions,
@@ -91,9 +91,9 @@ function CopyButton({ content }: { content: string }) {
}}
>
{copied ? (
<CheckOutlined className="h-4 w-4" />
<Check className="h-4 w-4" />
) : (
<CopyOutlined className="h-4 w-4" />
<Copy className="h-4 w-4" />
)}{" "}
</Button>
</Tooltip>