aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/ui/Input.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/components/ui/Input.jsx')
-rw-r--r--src/settings/components/ui/Input.jsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settings/components/ui/Input.jsx b/src/settings/components/ui/Input.jsx
index d090f5b..13a246b 100644
--- a/src/settings/components/ui/Input.jsx
+++ b/src/settings/components/ui/Input.jsx
@@ -1,4 +1,5 @@
import React from 'react';
+import PropTypes from 'prop-types';
import './Input.scss';
class Input extends React.Component {
@@ -49,4 +50,11 @@ class Input extends React.Component {
}
}
+Input.propTypes = {
+ type: PropTypes.string,
+ error: PropTypes.string,
+ label: PropTypes.string,
+ value: PropTypes.string,
+};
+
export default Input;