RegisterContainer
Handles authenticating a registered user on your site.
#
Usage#
ReferenceRegisterContainer
#
#
PropsonSuccess
#
(userObject) โ void
Callback function called when the user registers succesfully.
onFailure
#
(errorObject) โ void
Callback function called when the register fails.
#
Children componentsAlert
#
Displays the relevant errors or success messages.
RegisterEmail
Required#
Instance of Input
Input field component to receive the email of the user.
RegisterPassword
Required#
Instance of Input
Input field component to receive the password of the user.
RegisterButton
Required#
Instance of Button
A button component that submits the register form.
#
Propsname
#
string?
The title displayed inside the button
GoogleLoginButton
#
Sign in with google button.
Google App ID needs to be added in the site configurations.
#
Propslabel
#
string?
default is "Google"
The label text inside the button
className
#
string?
A class name added to the button.
labelClassName
#
string?
A class name added to the button's title.
iconClassName
#
string?
A class name added to the button's icon.
FacebookLoginButton
#
Sign in with facebook button.
Facebook App ID needs to be added in the site configurations.
#
Propslabel
#
string?
default is "Facebook"
The label text inside the button
className
#
string?
A class name added to the button.
labelClassName
#
string?
A class name added to the button's title.
iconClassName
#
string?
A class name added to the button's icon.