You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`as`| string \|<br>React.ReactElement \|<br>React.ComponentType|| Wrapper component or HTML tag. eg: `as="p"`, `as={<p />}` or `as={CustomComponent}`|
119
-
|`render`|(payload: {<br> message: string \| React.ReactElement;<br> messages?: Record<<br> string,<br> (string \| React.ReactElement \| boolean \| undefined)[]<br> >;<br>}) => React.ReactNode || This is a [render prop](https://reactjs.org/docs/render-props.html) for rendering error message or messages. <br>Note: you need to set `criteriaMode` to `all` for using messages. |
|`as`|`string \|React.ReactElement \| React.ComponentType`|| Wrapper component or HTML tag. eg: `as="p"`, `as={<p />}` or `as={CustomComponent}`|
121
+
|`render`|`Function`|| This is a [render prop](https://reactjs.org/docs/render-props.html) for rendering error message or messages. <br><b>Note:</b> you need to set `criteriaMode` to `all` for using messages. |
0 commit comments