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" }
      }
      
  • 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" }
      }
      
  • 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]" }
      }
      
  • 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" }
      }
      

These properties can be customized to align with your specific application needs by setting it within the KigoContext.


What’s Next