Skip to content

ThaiQRPaymentMatrixProps

Defined in: react/src/index.tsx:37

  • QRSvgOptions

optional amount?: number

Defined in: react/src/index.tsx:39


optional ariaLabel?: string

Defined in: react/src/index.tsx:45


optional background?: string

Defined in: render/dist/matrix-svg.d.ts:19

Background colour (set to transparent to omit). Defaults to #fff.

QRSvgOptions.background


optional className?: string

Defined in: react/src/index.tsx:43


optional errorCorrectionLevel?: ErrorCorrectionLevel

Defined in: react/src/index.tsx:42


optional foreground?: string

Defined in: render/dist/matrix-svg.d.ts:17

Dark module colour. Defaults to #000.

QRSvgOptions.foreground


optional fromSatang?: boolean

Defined in: react/src/index.tsx:41


optional quietZone?: number

Defined in: render/dist/matrix-svg.d.ts:15

Quiet-zone width in modules. EMVCo recommends 4.

QRSvgOptions.quietZone


recipient: string

Defined in: react/src/index.tsx:38


optional recipientType?: PromptPayRecipientType

Defined in: react/src/index.tsx:40


optional rootAttributes?: Record<string, string>

Defined in: render/dist/matrix-svg.d.ts:21

Additional attributes added verbatim to the root <svg> element.

QRSvgOptions.rootAttributes


optional size?: number

Defined in: render/dist/matrix-svg.d.ts:13

Output width in user units (px by default). Defaults to module count.

QRSvgOptions.size


optional style?: CSSProperties

Defined in: react/src/index.tsx:44