FormMessagecomponent
FormMessage(props: Omit<MessageProps, "children">): ReactElement | null
| Param | Type | |
|---|---|---|
props | Omit<MessageProps, "children"> |
| Return | |
|---|---|
ReactElement | null | A <Message status="error"> containing the message, or null when empty. |
Show the current form's "main" (unnamed) message as a <Message>, or render nothing when there is no message.
Examples
<FormMessage />