Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit b7d2e91

Browse files
authored
Merge pull request #990 from Gidgidonihah/master
Allow nodes for the value of messages
2 parents d17e04c + 293f74e commit b7d2e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/errors-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const propTypes = {
3131
// Provided props
3232
model: PropTypes.string.isRequired,
3333
messages: PropTypes.objectOf(PropTypes.oneOfType([
34-
PropTypes.string,
34+
PropTypes.node,
3535
PropTypes.func,
3636
PropTypes.bool,
3737
])),

0 commit comments

Comments
 (0)