FieldValidations

The FieldValidations component is rarely used by itself. Instead, validations should be sent via the validations prop on the Field component.

Props

NameTypeDescription
validations
List<Validation>A list of validations to be displayed to the user
centered
booleanVisually centeres the validations

FieldValidations (default)

An example of FieldValidations (default)
Your email is incorrect
<FieldValidations validations={[ { message: 'Your email is incorrect' } ]} />