AccountReset
Interfaces
AccountResetProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
ButtonProps? | ButtonProps | Default props to submit button Input Default {variant: 'contained'} |
TextFieldProps? | TextFieldProps | Default props to TextField Input Default {variant: 'outlined'} |
className? | string | Overrides or extends the styles applied to the component. Default null |
errorAction? | ReactNode | Action component to display after error message |
onError? | (res : any ) => void | Callback triggered on error sign in Default null |
onSuccess? | (res : any ) => void | Callback triggered on success sign in Default null |
successAction? | ReactNode | Action component to display after success message |
validationCode | string | Validation code sent by email to the user Default empty string |
Functions
AccountReset()
AccountReset(
inProps
):JSX.Element
API documentation for the Community-JS Account Reset component. Learn about the available props and the CSS API.
This component allows users to log in to the application with their usernames and passwords. Take a look at our demo component here
Import
import {AccountReset} from '@selfcommunity/react-ui';
Component Name
The name SCAccountReset
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCAccountReset-root | Styles applied to the root element. |
form | .SCAccountReset-form | Styles applied to the form element. |
.SCAccountReset-password | Styles applied to the password TextField. | |
success | .SCAccountRecover-success | Styles applied to the success Alert. |
error | .SCAccountRecover-error | Styles applied to the error Alert. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | AccountResetProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/AccountReset/AccountReset.tsx:128