-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage.tsx
More file actions
58 lines (53 loc) · 1.41 KB
/
page.tsx
File metadata and controls
58 lines (53 loc) · 1.41 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import type { Metadata } from 'next'
import type { Prop } from '@/types/props'
import { PageHeading } from '@/components/page-heading'
import { PropsTable } from '@/components/props-table'
import { TypographyP } from '@/components/ui/typography'
export const metadata: Metadata = {
title: 'FinderPatternOuterSettings',
description:
'Configuration options for FinderPatternOuterSettings in @lglab/react-qr-code, used to style the outer part of QR code finder patterns.',
}
const props: Prop[] = [
{
name: 'color',
type: 'string',
description: 'The color of the finder patterns outer part',
defaultValue: '#000000',
},
{
name: 'style',
type: 'FinderPatternOuterStyle',
description: 'The style of the finder patterns outer part',
defaultValue: 'square',
possibleValues: [
'square',
'pinched-square',
'rounded-sm',
'rounded',
'rounded-lg',
'circle',
'inpoint-sm',
'inpoint',
'inpoint-lg',
'outpoint-sm',
'outpoint',
'outpoint-lg',
'leaf-sm',
'leaf',
'leaf-lg',
],
},
]
export default function Page() {
return (
<>
<PageHeading heading='FinderPatternOuterSettings' />
<TypographyP>
These are the properties you can use to customize the outer part of the QR Code
finder patterns (the big squares).
</TypographyP>
<PropsTable props={props} />
</>
)
}