fix validation

This commit is contained in:
Matthew Taylor 2017-11-07 14:04:54 -05:00
parent 95099d6e90
commit 250e3ea089

View file

@ -59,8 +59,8 @@ export default function (Input) {
} }
LiveInput.propTypes = { LiveInput.propTypes = {
max: PropTypes.number, max: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
min: PropTypes.number, min: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
onSubmit: PropTypes.func.isRequired, onSubmit: PropTypes.func.isRequired,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}; };