mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -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 = {
|
||||
max: PropTypes.number,
|
||||
min: PropTypes.number,
|
||||
max: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
||||
min: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
||||
onSubmit: PropTypes.func.isRequired,
|
||||
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue