Function createSolanaQR

  • Create a Solana themed QR code from a Solana Action URL.

    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