mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
UI: Improve type table link icon
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
Improve type table link icon
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user