Aller au contenu

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.

optional classname?: string

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:13

CSS class names added to the floating root element.


optional cta?: string

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:30

Override the claim button text. Supports the same placeholders.


optional description?: string

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:26

Override the expanded card description. Supports the same placeholders.


optional heading?: string

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:22

Override the expanded card heading. Supports {REWARD}, {DAYS}, {DATE}, {BRAND}.


optional placement?: string

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/types.ts:9

Placement ID reported with the reminder’s analytics events.


optional position?: "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.

"left"


optional preview?: 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).