QrCodeExportOptions

Options for exporting the QR code to a file.

Optional download

Section titled "download"

Whether to open the browser download dialog for the exported file.

download?: boolean

Optional fileName

Section titled "fileName"

The name of the exported file. The extension of the format is appended when the name does not end with it.

fileName?: string

The output format.

format?: QrCodeExportFormat

Multiplier applied to the size of the component. A 256px QR code with a scale of 2 exports as a 512x512 image. For svg, the multiplier applies to the width and height attributes while the viewBox is unchanged.

scale?: number