mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
- qr-code demo: Changed QrCode to QRCode (capital R), added value prop - search-and-toggle-navigation-bar: Changed to PascalCase - Applied fixes to both default and new-york themes - Rebuilt registry
10 lines
255 B
TypeScript
10 lines
255 B
TypeScript
import { QRCode } from "@/registry/default/ui/qr-code"
|
|
|
|
export default function QrCodeDemo() {
|
|
return (
|
|
<div className="w-full min-h-[400px] flex items-center justify-center">
|
|
<QRCode value="https://ui.hanzo.ai" size={200} />
|
|
</div>
|
|
)
|
|
}
|