@fenderdigital/react-field-error
v2.0.0
Published
Fender React UI Kit FieldError Component
Downloads
1
Readme
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.