-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage.tsx
More file actions
32 lines (28 loc) · 1.13 KB
/
page.tsx
File metadata and controls
32 lines (28 loc) · 1.13 KB
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
27
28
29
30
31
32
import type { Metadata } from 'next'
import Link from 'next/link'
import { Demo, codeBlock } from '@/components/demos/data-modules'
import { PageHeading } from '@/components/page-heading'
import { ExampleTabs } from '@/components/ui/example-tabs'
import { TypographyP } from '@/components/ui/typography'
export const metadata: Metadata = {
title: 'Data Modules Example',
description:
'Example demonstrating how to customize QR code data modules in @lglab/react-qr-code, including shape, color, and random sizing.',
}
export default function Page() {
return (
<>
<PageHeading heading='Data modules example' />
<TypographyP>
The data modules in a QR code are the small squares that encode the actual
information. With @lglab/react-qr-code, you can customize their shape and color,
as well as render random sizes for certain shapes. See{' '}
<Link className='underline' href='/data-modules-settings'>
Data Modules Settings
</Link>{' '}
api reference for more information.
</TypographyP>
<ExampleTabs codeBlock={codeBlock} preview={<Demo />} />
</>
)
}