mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-07-23 12:29:14 -04: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…
Add table
Add a link
Reference in a new issue