User
The user section within the KigoContext allows you to specify the user's name, which may be used throughout the application, including in components like the WalletHeader.
Properties
firstName- The first name of the user.- Default:
""- If set to"", no first name will be displayed or used. - Valid values:
string - Example:
const kigoContext = { user: { firstName: "John" } }
- Default:
lastName- The last name of the user.- Default:
""- If set to"", no last name will be displayed or used. - Valid values:
string - Example:
const kigoContext = { user: { lastName: "Doe" } }
- Default:
email- The email address of the user.- Default:
""- If set to"", no email will be displayed or used. - Valid values:
string - Example:
const kigoContext = { user: { email: "[email protected]" } }
- Default:
- accountId - The account ID of the user.
- Default:
""- If set to"", no account ID will be displayed or used. - Valid values:
string - Example:
const kigoContext = { user: { accountId: "550e8400-e29b-41d4-a716-446655440000" } }
- Default:
These properties can be customized to align with your specific application needs by setting it within the KigoContext.
Updated about 1 month ago
What’s Next