{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "adminlte-table", "title": "AdminLTE Table", "description": "Table with striped, bordered, hover, condensed variants and responsive wrapper.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json" ], "files": [ { "path": "registry/new-york/adminlte-table/ui/adminlte-table.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ninterface AdminLTETableProps\n extends React.TableHTMLAttributes {\n striped?: boolean\n bordered?: boolean\n hover?: boolean\n condensed?: boolean\n responsive?: boolean\n}\n\nconst AdminLTETable = React.forwardRef(\n (\n {\n className,\n striped = false,\n bordered = false,\n hover = false,\n condensed = false,\n responsive = false,\n children,\n ...props\n },\n ref\n ) => {\n const table = (\n \n {children}\n \n )\n\n if (responsive) {\n return (\n
\n {table}\n
\n )\n }\n\n return table\n }\n)\nAdminLTETable.displayName = \"AdminLTETable\"\n\nexport { AdminLTETable }\nexport type { AdminLTETableProps }\n", "type": "registry:ui" } ], "type": "registry:ui" }