Sets the active form. Read more: {@link AuthFormState}
Optional props to customize all buttons. Typically used to change the mode
prop.
Optional props for the cancel button. Typically used to change the title
prop.
Optional child components for the ConfirmForm
Optional props for the e-mail input. Typically used to change the label
prop.
See {@link ICrossEditorProps}
Optional child components for the ForgotForm (reset password)
Optional props for the login button. Typically used to change the title
prop.
Optional child components for the LoginForm (username / password)
Occurs when the user was successfully logged in and contains the resulting user.
Occurs when the user was succcessfully registered and carries the user object.
Optional props for the password input. Typically used to change the label
prop.
See {@link ICrossEditorProps}
Optional props for the phone input. Typically used to change the label
prop or change the maskProps
.
See {@link ICrossEditorProps}
Optional props for the register button. Typically used to change the title
prop.
Optional child components for the RegisterForm
Optional props for the save button. Typically used to change the title
prop.
Optional custom style main ScrollView
Optional custom style main View
container
Properties for the CognitoLogin component.
Has callback events for onLoggedIn and onRegisteredUser.
Customize using style, scrolViewStyle, buttonProps, loginButtonProps etc.
Children can be supplied to the forms: registerChildren, confirmChildren, forgotChildren, loginChildren