Files
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

41 lines
981 B
TypeScript

"use client"
import QRCode from "react-qr-code"
import { Button } from "@/registry/bases/radix/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/bases/radix/ui/card"
export function QrConnect() {
return (
<Card>
<CardContent className="flex justify-center pt-6">
<div className="rounded-xl border bg-white p-4">
<QRCode
value="https://ledger.app/connect/jd-4829"
size={160}
level="M"
/>
</div>
</CardContent>
<CardHeader className="text-center">
<CardTitle>Scan to connect your mobile device</CardTitle>
<CardDescription>
Open the Ledger mobile app and scan this code to link your device.
</CardDescription>
</CardHeader>
<CardFooter>
<Button variant="secondary" className="w-full">
Got it
</Button>
</CardFooter>
</Card>
)
}