import { ArrowRightIcon } from '@heroicons/react/16/solid' import { CodeBracketIcon } from '@heroicons/react/20/solid' import Link from 'next/link' import { cn } from '@/utils/cn' function Tag({ children }: { children: React.ReactNode; tag: string }) { return {children} } export function ApiMemberTitle({ children, source, tags, inherited, large, }: { children: React.ReactNode source?: string | null large?: boolean tags?: string[] inherited?: { name: string; link: string } }) { return ( <>
{children}
{tags?.map((tag) => ( {tag} ))} {source && ( )}
{inherited && (
from{' '} {inherited.name}
)} ) }