FormNoticecomponent

FormNotice(props: Omit<NoticeProps, "children">): ReactElement | null
ParamType
propsOmit<NoticeProps, "children">
Notice props (excluding children) forwarded to the underlying <Notice>. required
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 />