mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-10 22:47:03 -05:00
fix validation
This commit is contained in:
parent
95099d6e90
commit
250e3ea089
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue