Home > @uniformdev/design-system > ErrorMessage
ErrorMessage() function
Component that provides error messaging to input fields
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
{ message, testId, truncated, ...otherProps } | ErrorMessageProps |
Returns:
_emotion_react_jsx_runtime.JSX.Element | null
Example
<ErrorMessage>something went wrong, please try again</ErrorMessage>