Options
All
  • Public
  • Public/Protected
  • All
Menu

Properties for ForgotForm component. Required prop is onSubmit.

Hierarchy

Index

Properties

Optional buttonProps

buttonProps: ICrossButtonProps | undefined

Optional props for the submit button. Typically used to change the title prop.

Read more: https://crossplatformsweden.github.io/react-native-components/interfaces/_components_buttons_crossbutton_.icrossbuttonprops.html

example

<ForgotForm buttonProps={{title: 'Warp'}}> Custom layouts here

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

onEmailChanged

onEmailChanged: function

Occurs when the user inputs e-mail

Type declaration

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

      • email: string | undefined

      Returns void

onSubmit

onSubmit: function

Occurs when the user clicks "reset password" button. Required.

Type declaration

    • (): void
    • Returns void

Optional testID

testID: string | undefined