ThaiQRPaymentProps
Defined in: react/src/index.tsx:25
Extends
Section titled “Extends”CardOptions
Properties
Section titled “Properties”accent?
Section titled “accent?”
optionalaccent?:string
Defined in: render/dist/card.d.ts:48
Foreground / accent colour for text + silhouette artwork.
Inherited from
Section titled “Inherited from”CardOptions.accent
amount?
Section titled “amount?”
optionalamount?:number
Defined in: react/src/index.tsx:27
amountLabel?
Section titled “amountLabel?”
optionalamountLabel?:string
Defined in: render/dist/card.d.ts:42
Optional amount label rendered below the QR.
Inherited from
Section titled “Inherited from”CardOptions.amountLabel
ariaLabel?
Section titled “ariaLabel?”
optionalariaLabel?:string
Defined in: react/src/index.tsx:34
Optional aria-label override; defaults to “Thai QR Payment for
background?
Section titled “background?”
optionalbackground?:string
Defined in: render/dist/card.d.ts:46
Background colour of the entire card.
Inherited from
Section titled “Inherited from”CardOptions.background
centerOverlay?
Section titled “centerOverlay?”
optionalcenterOverlay?:boolean
Defined in: render/dist/card.d.ts:61
Overlay the Thai QR Payment icon at the centre of the QR matrix.
Defaults to true for theme: 'color', false for 'silhouette'.
Always pair with encodeQR({ errorCorrectionLevel: 'Q' | 'H' })
so the obscured modules are recoverable.
Inherited from
Section titled “Inherited from”CardOptions.centerOverlay
className?
Section titled “className?”
optionalclassName?:string
Defined in: react/src/index.tsx:31
errorCorrectionLevel?
Section titled “errorCorrectionLevel?”
optionalerrorCorrectionLevel?:ErrorCorrectionLevel
Defined in: react/src/index.tsx:30
fromSatang?
Section titled “fromSatang?”
optionalfromSatang?:boolean
Defined in: react/src/index.tsx:29
headerLogo?
Section titled “headerLogo?”
optionalheaderLogo?:"PromptPay1"|"PromptPay2"|"Thai_QR_Payment_Logo-01"
Defined in: render/dist/card.d.ts:52
Override the Thai QR Payment header logo by registry name.
Inherited from
Section titled “Inherited from”CardOptions.headerLogo
merchantName?
Section titled “merchantName?”
optionalmerchantName?:string
Defined in: render/dist/card.d.ts:44
Optional merchant name rendered below the QR (above the amount).
Inherited from
Section titled “Inherited from”CardOptions.merchantName
promptpayLogo?
Section titled “promptpayLogo?”
optionalpromptpayLogo?:"PromptPay1"|"PromptPay2"|"Thai_QR_Payment_Logo-01"
Defined in: render/dist/card.d.ts:54
Override the PromptPay sub-mark by registry name.
Inherited from
Section titled “Inherited from”CardOptions.promptpayLogo
qrColor?
Section titled “qrColor?”
optionalqrColor?:string
Defined in: render/dist/card.d.ts:50
QR module fill colour. Defaults to #000000 for max scanner contrast.
Inherited from
Section titled “Inherited from”CardOptions.qrColor
recipient
Section titled “recipient”recipient:
string
Defined in: react/src/index.tsx:26
recipientType?
Section titled “recipientType?”
optionalrecipientType?:PromptPayRecipientType
Defined in: react/src/index.tsx:28
style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: react/src/index.tsx:32
theme?
Section titled “theme?”
optionaltheme?:CardTheme
Defined in: render/dist/card.d.ts:40
Brand artwork flavor. color keeps full fidelity, silhouette is monochrome.
Inherited from
Section titled “Inherited from”CardOptions.theme