diff --git a/src/CustomInput.js b/src/CustomInput.js index 6ec6a9a1b..6e614e7d7 100644 --- a/src/CustomInput.js +++ b/src/CustomInput.js @@ -7,7 +7,7 @@ const propTypes = { className: PropTypes.string, id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired, type: PropTypes.string.isRequired, - label: PropTypes.string, + label: PropTypes.node, inline: PropTypes.bool, valid: PropTypes.bool, invalid: PropTypes.bool,