Files
cosscom__coss/apps/ui/public/r/kbd.json
Volnei Munhoz d5a915e6d0 add biome
2025-11-13 19:19:31 -03:00

13 lines
989 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "kbd",
"type": "registry:ui",
"files": [
{
"path": "registry/default/ui/kbd.tsx",
"content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd\"\n className={cn(\n \"pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none [&_svg:not([class*='size-'])]:size-3\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd-group\"\n className={cn(\"inline-flex items-center gap-1\", className)}\n {...props}\n />\n )\n}\n\nexport { Kbd, KbdGroup }\n",
"type": "registry:ui"
}
]
}