24 lines
333 B
Plaintext
24 lines
333 B
Plaintext
|
---
|
||
|
name: QRCode
|
||
|
---
|
||
|
|
||
|
import { Playground, PropsTable } from 'docz'
|
||
|
|
||
|
import { QRCode } from './qrcode.js'
|
||
|
|
||
|
# QRCode
|
||
|
|
||
|
<PropsTable of={QRCode} />
|
||
|
|
||
|
## Basic usage
|
||
|
|
||
|
<Playground>
|
||
|
<QRCode value="https://astrocoders.com" />
|
||
|
</Playground>
|
||
|
|
||
|
## Custom size
|
||
|
|
||
|
<Playground>
|
||
|
<QRCode value="https://astrocoders.com" size={500} />
|
||
|
</Playground>
|