Skip to content

RewardReminder

RewardReminder(__namedParameters): Element | null

Defined in: vendor/wallet/sdk/components/src/components/RewardReminder/RewardReminder.tsx:42

Floating pill for a visitor with unclaimed rewards and no Frak wallet, expanding into a claim card. Snoozed for the browser session once dismissed.

string = ""

CSS class names added to the floating root element.

string

Override the claim button text. Supports the same placeholders.

string

Override the expanded card description. Supports the same placeholders.

string

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

string

Placement ID reported with the reminder’s analytics events.

"left" | "right"

Side of the screen. Wins over the merchant dashboard and the SDK config.

Default Value

"left"

string

When set, renders with sample data and no fetch (e.g. in a theme editor).

Element | null