createQR
Callable
Parameters
url: string | URL
The URL to encode.
size: number = 512
Width and height in pixels.
background: string = 'white'
Background color, which should be light for device compatibility.
color: string = 'black'
Foreground color, which should be dark for device compatibility.
Returns QRCodeStyling
Create a QR code from a Solana Pay URL.