FieldError for Fender React UI Kit
Description
Provides a message when there is a text field error.
Used, mainly, with the TextField
component.
Installation and Usage
yarn add @fenderdigital/react-field-error --save
import FieldError from '@fenderdigital/react-field-error';
Props
-
dataId
- data id value. mainly, for automation testing. -
message
- text field error message
propName | propType | defaultValue | isRequired |
---|---|---|---|
dataId | string | field-error | - |
message | string | null | - |
Development
Check the Monorepo README for development documentation.