{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "table-shared-core", "title": "Table Shared Core", "dependencies": [ "clsx", "iconify-icon", "rc-util", "tailwind-merge" ], "files": [ { "path": "lib/utils.ts", "content": "import type { ClassValue } from \"clsx\";\nimport { clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n\nexport const isBrowser = !!(\n typeof window !== \"undefined\" &&\n window.document &&\n window.document.createElement\n);\n", "type": "registry:file", "target": "lib/utils.ts" }, { "path": "shadcn/table.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { cn } from \"@acme/ui/lib/utils\"\n\nfunction Table({ className, ...props }: React.ComponentProps<\"table\">) {\n return (\n
> =\n Slot.SlotProps & P;\n\nconst GenericSlot =
,>(\n properties: GenericSlotProperties
,\n) => {\n return