Skip to main content

AccountChangeMailValidation

Interfaces

AccountChangeMailValidationProps

Indexable

[p: string]: any

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component.

Default
null
errorAction?ReactNodeAction component to display after error message
newEmailstringNew email sent by email to the user

Default
null
onError?(res: any) => voidCallback triggered on error

Default
null
onSuccess?(res: any) => voidCallback triggered on success

Default
null
successAction?ReactNodeAction component to display after success message
userIdnumberId (userId) sent by email to the user

Default
null
validationCodestringValidation 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 NameGlobal classDescription
root.SCAccountChangeMailValidation-rootStyles applied to the root element.
success.SCAccountChangeMailValidation-successStyles applied to the success Alert.
error.SCAccountChangeMailValidation-errorStyles applied to the error Alert.

Parameters

ParameterTypeDescription
inPropsAccountChangeMailValidationProps

Returns

JSX.Element

Source

packages/react-ui/src/components/AccountChangeMailValidation/AccountChangeMailValidation.tsx:109