-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage.tsx
More file actions
26 lines (22 loc) · 871 Bytes
/
page.tsx
File metadata and controls
26 lines (22 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { Metadata } from 'next'
import { Demo, codeBlock } from '@/components/demos/demo-basic'
import { PageHeading } from '@/components/page-heading'
import { ExampleTabs } from '@/components/ui/example-tabs'
import { TypographyP } from '@/components/ui/typography'
export const metadata: Metadata = {
title: 'Basic Example',
description:
'See a basic example of using the @lglab/react-qr-code library to render a customizable QR code in a React application.',
}
export default function Page() {
return (
<>
<PageHeading heading='Basic example' />
<TypographyP>
The @lglab/react-qr-code library makes it easy to generate customizable QR codes
in your React applications. Here's a simple example to get you started.
</TypographyP>
<ExampleTabs codeBlock={codeBlock} preview={<Demo />} />
</>
)
}