Class

SignUpForm

SignUpForm(props)

Constructor

# new SignUpForm(props)

Explore a working code example of the SignUpForm here.

Parameters:
Name Type Attributes Description
props SignUpFormProps

Component properties

onSignInButtonClick onSignInButtonClickCallback

Callback when the user click on login

onSignUpComplete onSignUpCompleteCallback

Callback when the user complete the sign up process

onForgotPasswordClick onForgotPasswordClickCallback <optional>

Callback when the user clicks on forgot password

title string <optional>

Form title

subtitle string <optional>

Form subtitle

termsLink string <optional>

Application terms and conditions IPFS CID

onLoadComplete onLoadCompleteCallback <optional>

Callback when iframe inputs are ready

Example
import React from "react"

import { AppInfo } from "@zippie/did-core"
import SignUpForm from "@zippie/did-react-components"

const MyComponent: React.FC = () => (
  <SignUpForm
    onSignUpComplete={(appInfo: AppInfo) => {
      console.info("Application Info:", appInfo)
    }}
  />
)