From affeb7c751d00b4a6b85c5508d4ab38af6b10aa8 Mon Sep 17 00:00:00 2001 From: orangemug Date: Sat, 19 Oct 2019 12:21:38 +0100 Subject: [PATCH] Fixed lint errors. --- src/components/inputs/NumberInput.jsx | 1 + src/components/inputs/StringInput.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/inputs/NumberInput.jsx b/src/components/inputs/NumberInput.jsx index 1c8326d..b2d7dec 100644 --- a/src/components/inputs/NumberInput.jsx +++ b/src/components/inputs/NumberInput.jsx @@ -8,6 +8,7 @@ class NumberInput extends React.Component { min: PropTypes.number, max: PropTypes.number, onChange: PropTypes.func, + required: PropTypes.bool, } constructor(props) { diff --git a/src/components/inputs/StringInput.jsx b/src/components/inputs/StringInput.jsx index 2819cc0..e160d69 100644 --- a/src/components/inputs/StringInput.jsx +++ b/src/components/inputs/StringInput.jsx @@ -9,6 +9,7 @@ class StringInput extends React.Component { default: PropTypes.string, onChange: PropTypes.func, multi: PropTypes.bool, + required: PropTypes.bool, } constructor(props) {