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