This repository was archived by the owner on Aug 23, 2022. It is now read-only.
Commit 8066e80
authored
Update typings for error messages prop
Allow to return JSX from messages object
If I understood correctly, there is no restriction on messages object value, so you can return string or any other JSX elements:
https://github.com/davidkpiano/react-redux-form/blob/master/src/components/errors-component.js#L331 parent 2fb5db0 commit 8066e80
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments