chore(ui): MCPToolArgumentsForm antd icon \u2192 lucide Info

- InfoCircleOutlined \u2192 lucide Info with text-muted-foreground hover.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-04-23 21:45:56 +00:00
parent b572f4ce6d
commit 8047b23ac0
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
import React, { forwardRef, useImperativeHandle, useMemo } from "react";
import { Form, Input, InputNumber, Select, Tooltip } from "antd";
import { InfoCircleOutlined } from "@ant-design/icons";
import { Info } from "lucide-react";
import { MCPTool, InputSchema, InputSchemaProperty } from "./types";
const isPlainObject = (value: unknown): value is Record<string, any> =>
@ -237,7 +237,7 @@ const MCPToolArgumentsForm = forwardRef<MCPToolArgumentsFormRef, MCPToolArgument
{key} {actualSchema.required?.includes(key) && <span className="text-red-500">*</span>}
{prop.description && (
<Tooltip title={prop.description}>
<InfoCircleOutlined className="ml-2 text-gray-400 hover:text-gray-600" />
<Info className="ml-2 h-3.5 w-3.5 text-muted-foreground hover:text-foreground" />
</Tooltip>
)}
</span>