Constructor
# new ProfileSelector(props)
This component allows application developers to use multiple user profiles in their application. By embedding this component into their app they present the user with a view to switch between and create separate user profiles under a users' primary identity. This is useful for allowing users to have multiple wallets, as each profile has it's own keyring.
Parameters:
Name | Type | Description |
---|---|---|
props |
ProfileSelectorProps
|
Component properties |
onProfileChanged |
onProfileChangedCallback
|
Callback for profile switch to provide app with new app info |