AccountChangeMailValidation
Interfaces
AccountChangeMailValidationProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null |
errorAction? | ReactNode | Action component to display after error message |
newEmail | string | New email sent by email to the user Default null |
onError? | (res : any ) => void | Callback triggered on error Default null |
onSuccess? | (res : any ) => void | Callback triggered on success Default null |
successAction? | ReactNode | Action component to display after success message |
userId | number | Id (userId) sent by email to the user Default null |
validationCode | string | Validation code sent by email to the user Default empty string |
Functions
AccountChangeMailValidation()
AccountChangeMailValidation(
inProps
):JSX.Element
API documentation for the Community-JS AccountChangeMailValidation component. Learn about the available props and the CSS API.
Import
import {AccountChangeMailValidation} from '@selfcommunity/react-ui';
Component Name
The name SCAccountChangeMailValidation
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCAccountChangeMailValidation-root | Styles applied to the root element. |
success | .SCAccountChangeMailValidation-success | Styles applied to the success Alert. |
error | .SCAccountChangeMailValidation-error | Styles applied to the error Alert. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | AccountChangeMailValidationProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/AccountChangeMailValidation/AccountChangeMailValidation.tsx:109