UI: Improve type table link icon

This commit is contained in:
Fuma Nama
2025-07-26 00:17:46 +08:00
parent 5d60f83344
commit 79248f6c2b
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---
Improve type table link icon
+2 -2
View File
@@ -1,6 +1,6 @@
'use client';
import { Info as InfoIcon } from 'lucide-react';
import { Info as InfoIcon, Link as LinkIcon } from 'lucide-react';
import Link from 'fumadocs-core/link';
import { cva } from 'class-variance-authority';
import { cn } from '@/utils/cn';
@@ -91,7 +91,7 @@ export function TypeTable({ type }: { type: Record<string, ObjectType> }) {
) : null}
{value.typeDescriptionLink ? (
<Link href={value.typeDescriptionLink}>
<InfoIcon className="size-4" />
<LinkIcon className="size-4 text-fd-muted-foreground" />
</Link>
) : null}
</div>