{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "main-footer", "title": "Main Footer", "description": "Page footer with white background, border-top, and left/right content slots.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json" ], "files": [ { "path": "registry/new-york/main-footer/components/main-footer.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ninterface MainFooterProps extends React.HTMLAttributes {\n leftContent?: React.ReactNode\n rightContent?: React.ReactNode\n}\n\nconst MainFooter = React.forwardRef(\n ({ className, leftContent, rightContent, children, ...props }, ref) => {\n return (\n \n {(leftContent || rightContent) ? (\n
\n {leftContent &&
{leftContent}
}\n {rightContent &&
{rightContent}
}\n
\n ) : (\n children\n )}\n \n )\n }\n)\nMainFooter.displayName = \"MainFooter\"\n\nexport { MainFooter }\nexport type { MainFooterProps }\n", "type": "registry:component" } ], "type": "registry:component" }