Files
zeekay dacabef7d6 Fix finance component registry exports for React.lazy
React.lazy expects default exports, but all finance registry files were
using named exports. This caused build failures with the error:
"Element type is invalid: expected a string ... but got: undefined"

Changes:
- Updated all finance registry files to import and re-export as default
- Removed non-existent mini-chart and symbol-overview MDX files
- Updated sidebar navigation to remove mini-chart and symbol-overview
- Fixed market-overview, ticker-tape, and trading-panel registry files

The finance components now properly load in ComponentPreview during
static site generation.
2025-11-10 10:02:11 -08:00

10 lines
446 B
JSON

{
"name": "sidebar-demo",
"files": [
{
"name": "sidebar-demo.tsx",
"content": "import { Sidebar, SidebarProvider } from \"@/registry/default/ui/sidebar\"\n\nexport default function SidebarDemo() {\n return (\n <SidebarProvider>\n <div className=\"w-full min-h-[400px] flex items-center justify-center\">\n <Sidebar />\n </div>\n </SidebarProvider>\n )\n}\n"
}
],
"type": "components:example"
}