Skip to content

ButtonWallet

ButtonWallet(args): Element | null

Defined in: vendor/wallet/sdk/components/src/components/ButtonWallet/ButtonWallet.tsx:95

Button to open wallet modal

string = ""

Classname to apply to the button

string

"referral" | "create_referral_link" | "purchase" | `custom.${string}`

Target interaction behind this sharing action (will be used to get the right reward to display)

boolean

Do we display the reward on the button?

Default Value

false

Element | null

The wallet button with <button> tag

Basic usage:

<frak-button-wallet></frak-button-wallet>

Using a custom class:

<frak-button-wallet classname="button button-primary"></frak-button-wallet>

Using reward information:

<frak-button-wallet use-reward></frak-button-wallet>

Using reward information for specific reward:

<frak-button-wallet use-reward target-interaction="custom.customerMeeting"></frak-button-wallet>

Using placement:

<frak-button-wallet placement="hero-wallet"></frak-button-wallet>