A section used create the view in the sdk.

type
enum<string>
required
Available options:
email,
emailAndPhone,
phone,
separator,
social,
text,
wallet
label
string

The label for the section. This will be displayed above the section or as part of the separator component if it is a Separator section.

numOfItemsToDisplay
integer

The deafult number of items to display in the section. For Wallet section, represents the number of wallet items to be displayed by default. User has to click a button to view more options if there are any. For Social section, represents the number of social providers to be displayed by default. User has to click a button to view more options if there are any.

defaultItem
string

The option to be displayed as the main one. The default item will be displayed in a more prominent way than the rest of the items in the section. For Wallet section, represents the wallet item to be displayed by default. For Social section, represents the social provider to be displayed by default.

alignment
enum<string>
Available options:
center,
left,
right