SdkViewType.Login
is used to adjust the login/signup UI options programmatically.
When using the login view, you add an object to the views array. This object should have type: SdkViewType.Login
and sections
which is an array of SdkViewSection objects.
Social
section, represents the social provider to be displayed by default.EmailAndPhone
section, represents whether email or phone options are displayed by default ("email"
vs "phone"
).Separator
section.Wallet
section, represents the number of wallet items to be displayed by default.Social
section, represents the number of social providers to be displayed by default.SdkViewSectionType.Email
SdkViewSectionType.EmailAndPhone
SdkViewSectionType.Phone
SdkViewSectionType.Social
SdkViewSectionType.Separator
SdkViewSectionType.Text
SdkViewSectionType.Wallet
EmailAndPhone
section is what you get by default when you enable both
email and phone in our dashboard without using login view overrides. It’s a
section where the user has the option to toggle between email and phone number
input. Read about defaultItem
here
to learn how to set whether to show email or phone by default.SdkViewSectionAlignment.Center
SdkViewSectionAlignment.Left
SdkViewSectionAlignment.Right
wallet-list
configuration enables you to define tabs with predetermined labels, icons, filters, and recommended wallets, enhancing your application’s wallet selection interface. This feature is particularly useful for grouping wallets.
DynamicContextProvider
setup, the overrides
field is used to configure each tab in the wallet list. The configuration options available for each tab allow for detailed customization:
label
for text and an icon
for visual representation. The icon
can be one of the following options:
Example using Dynamic Iconic icons
Example custom image URL
Example using custom react icon
"grid"
.