import Link from "next/link" import { cn } from "@/lib/utils" import { BASES } from "@/registry/bases" export function DocsBaseSwitcher({ base, component, className, }: { base: string component: string className?: string }) { const activeBase = BASES.find((baseItem) => base === baseItem.name) return (
{BASES.map((baseItem) => ( {baseItem.title} ))} {activeBase?.meta?.logo && (
)}
) }