RewardReminder
Ce contenu n’est pas encore disponible dans votre langue.
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.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”classname?
Section titled “classname?”string = ""
CSS class names added to the floating root element.
string
Override the claim button text. Supports the same placeholders.
description?
Section titled “description?”string
Override the expanded card description. Supports the same placeholders.
heading?
Section titled “heading?”string
Override the expanded card heading. Supports {REWARD}, {DAYS}, {DATE}, {BRAND}.
placement?
Section titled “placement?”string
Placement ID reported with the reminder’s analytics events.
position?
Section titled “position?”"left" | "right"
Side of the screen. Wins over the merchant dashboard and the SDK config.
Default Value
"left"
preview?
Section titled “preview?”string
When set, renders with sample data and no fetch (e.g. in a theme editor).
Returns
Section titled “Returns”Element | null