{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "snapp-catalogue-result-card", "title": "Snapp Catalogue Result Card", "description": "Shared bordered result card for knowledge articles and Service Catalogue Items.", "dependencies": [ "lucide-react" ], "registryDependencies": [ "@snapp/snapp-theme", "@snapp/snapp-utils" ], "files": [ { "path": "registry/radix-nova/components/catalogue/catalogue-result-card.tsx", "content": "import type * as React from \"react\"\nimport { SquareArrowOutUpRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\ninterface CatalogueResultCardProps\n extends Omit, \"children\" | \"title\"> {\n description?: React.ReactNode\n endIcon?: React.ReactNode | false\n title: React.ReactNode\n}\n\nfunction CatalogueResultCard({\n className,\n description,\n endIcon,\n title,\n type = \"button\",\n ...props\n}: CatalogueResultCardProps) {\n return (\n \n \n \n {title}\n \n {endIcon === false\n ? null\n : endIcon ?? (\n \n )}\n \n {description ? (\n \n {description}\n \n ) : null}\n \n )\n}\n\nexport { CatalogueResultCard }\nexport type { CatalogueResultCardProps }\n", "type": "registry:component", "target": "@components/snapp/catalogue/catalogue-result-card.tsx" } ], "type": "registry:component" }