mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
### What problem does this PR solve? Modify the style of your personal center Add resizable component ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import { IMCPTool } from '@/interfaces/database/mcp';
|
|
|
|
export type McpToolCardProps = {
|
|
data: IMCPTool;
|
|
};
|
|
|
|
export function McpToolCard({ data }: McpToolCardProps) {
|
|
return (
|
|
<section className="group py-2.5">
|
|
<div className="text-sm font-normal line-clamp-1 pb-2">{data.name}</div>
|
|
<div className="text-xs font-normal text-text-secondary">
|
|
{data.description}
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|