API Reference
Parameters
props
- Type:
@vtex/shoreline-components.FieldMessageProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
error (optional)
Whether the field contains an error or not
-
Type:
boolean -
Default:
false
errorText (optional)
Error text message
- Type:
@types/react.React.ReactNode
helpText (optional)
Help text message
- Type:
@types/react.React.ReactNode