Skip to content

toSVG

toSVG(text, caption?, options?): string

Defined in: packages/core/src/core/index.ts:29

Returns a SVG representation as a string of the QR Code

string

The QR Code content

string

The QR Code caption

QRCodeOptions

Optional configuration

string

toSVG(text, options?): string

Defined in: packages/core/src/core/index.ts:30

Returns a SVG representation as a string of the QR Code

string

The QR Code content

QRCodeOptions

Optional configuration

string