RewardReminderProps
Ce contenu n’est pas encore disponible dans votre langue.
RewardReminderProps = {
classname?:string;cta?:string;description?:string;heading?:string;placement?:string;position?:"left"|"right";preview?:string; }
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:5
The props type for RewardReminder.
Properties
Section titled “Properties”classname?
Section titled “classname?”
optionalclassname?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:13
CSS class names added to the floating root element.
optionalcta?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:30
Override the claim button text. Supports the same placeholders.
description?
Section titled “description?”
optionaldescription?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:26
Override the expanded card description. Supports the same placeholders.
heading?
Section titled “heading?”
optionalheading?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:22
Override the expanded card heading. Supports {REWARD}, {DAYS}, {DATE}, {BRAND}.
placement?
Section titled “placement?”
optionalplacement?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:9
Placement ID reported with the reminder’s analytics events.
position?
Section titled “position?”
optionalposition?:"left"|"right"
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:18
Side of the screen. Wins over the merchant dashboard and the SDK config.
Default Value
Section titled “Default Value”"left"
preview?
Section titled “preview?”
optionalpreview?:string
Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:34
When set, renders with sample data and no fetch (e.g. in a theme editor).