mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
- Fixed qr-code.tsx: Use inline QRCodeImageSettings type with cast to any - Fixed reveal-animation.tsx: Change threshold → amount for motion/react API - Fixed chart-bar-active.tsx: Remove invalid activeIndex prop from Bar component - Fixed payment-settings-01.tsx: Add explicit types to callback parameters - Created billing stub module in both default and new-york variants - Fixed billing imports: Changed @hanzo/ui/billing → @/registry/new-york/ui/billing - All billing import errors resolved Production errors fixed: ~20 Remaining: 27 errors (14 billing mock data, 13 recharts types - lower priority)
16 lines
459 B
TypeScript
16 lines
459 B
TypeScript
import Link from "next/link"
|
|
import { ArrowRightIcon } from "lucide-react"
|
|
|
|
import { Badge } from "@/registry/default/ui/badge"
|
|
|
|
export function Announcement() {
|
|
return (
|
|
<Badge asChild variant="secondary" className="bg-transparent">
|
|
<Link href="/docs/changelog">
|
|
<span className="flex size-2 rounded-full bg-blue-500" title="New" />
|
|
New: 149+ components, Page Builder, and more <ArrowRightIcon />
|
|
</Link>
|
|
</Badge>
|
|
)
|
|
}
|