mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
Major fixes: - Fixed wagmi/Web3 SSR errors by lazy-loading config in Web3Provider - Added SidebarProvider to sidebar-demo components - Added 'use client' to 14 demo files with hooks/state/event handlers - Temporarily disabled force-static on blocks page Build progress: 0 → 258/1035 pages (25%) before hitting /blocks error Remaining issue: - /blocks page has function-passing error during static generation Package versions confirmed: - React 19.2.0 ✅ - Next.js 16.0.0 ✅ - Tailwind CSS 4.1.14 ✅
28 lines
816 B
TypeScript
28 lines
816 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
|
|
export interface InvoiceManagerProps
|
|
extends React.HTMLAttributes<HTMLDivElement> {
|
|
// Add props as needed when billing module is implemented
|
|
}
|
|
|
|
export const InvoiceManager = React.forwardRef<
|
|
HTMLDivElement,
|
|
InvoiceManagerProps
|
|
>(({ className, ...props }, ref) => {
|
|
return (
|
|
<div ref={ref} className={className} {...props}>
|
|
<div className="flex min-h-[400px] items-center justify-center p-8">
|
|
<div className="text-center space-y-2">
|
|
<p className="text-lg font-semibold">Invoice Manager Component</p>
|
|
<p className="text-sm text-muted-foreground">
|
|
This component will be implemented in @hanzo/ui/billing
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
})
|
|
InvoiceManager.displayName = "InvoiceManager"
|