Options
All
  • Public
  • Public/Protected
  • All
Menu

Props for the RegisterForm components. Extends ILoginFormProps

Required props are callbacks IEmailProps.onEmailChanged, IPhoneProps.onPhoneChanged and IPasswordProps.onPasswordChanged.

Allows you to customize IEmailProps.initialEmail / phone / password as well as IEmailProps.emailInputProps.

Hierarchy

Index

Properties

Optional emailInputProps

emailInputProps: ICrossEditorProps | undefined

Optional props for the e-mail input. Typically used to change the label prop. See {@link ICrossEditorProps}

Optional initialEmail

initialEmail: string | undefined

Optional initial value for the e-mail input

Optional initialPassword

initialPassword: string | undefined

Optional initial value for the password input

Optional initialPhone

initialPhone: string | undefined

Optional initial value for the phone input

onEmailChanged

onEmailChanged: function

Occurs when the user inputs e-mail

Type declaration

    • (email: string | undefined): void
    • Parameters

      • email: string | undefined

      Returns void

onPasswordChanged

onPasswordChanged: function

Occurs when the user inputs password

Type declaration

    • (password: string | undefined): void
    • Parameters

      • password: string | undefined

      Returns void

onPhoneChanged

onPhoneChanged: function

Occurs when the user inputs phone

Type declaration

    • (password: string | undefined): void
    • Parameters

      • password: string | undefined

      Returns void

Optional passwordInputProps

passwordInputProps: ICrossEditorProps | undefined

Optional props for the password input. Typically used to change the label prop. See {@link ICrossEditorProps}

Optional phoneInputProps

phoneInputProps: ICrossEditorProps | undefined

Optional props for the phone input. Typically used to change the label prop or change the maskProps. See {@link ICrossEditorProps}

Optional testID

testID: string | undefined