{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "header-logo", "title": "Header Logo", "description": "Logo component for the main header with full and mini (collapsed) variants.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json" ], "files": [ { "path": "registry/new-york/header-logo/components/header-logo.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ninterface HeaderLogoProps extends React.HTMLAttributes {\n logoFull: React.ReactNode\n logoMini: React.ReactNode\n collapsed: boolean\n href: string\n}\n\nconst HeaderLogo = React.forwardRef(\n ({ className, logoFull, logoMini, collapsed, href, ...props }, ref) => {\n return (\n \n {collapsed ? (\n \n {logoMini}\n \n ) : (\n \n {logoFull}\n \n )}\n \n )\n }\n)\nHeaderLogo.displayName = \"HeaderLogo\"\n\nexport { HeaderLogo }\nexport type { HeaderLogoProps }\n", "type": "registry:component" } ], "type": "registry:component" }