aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/form/SearchForm.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/components/form/SearchForm.jsx')
-rw-r--r--src/settings/components/form/SearchForm.jsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings/components/form/SearchForm.jsx b/src/settings/components/form/SearchForm.jsx
index f52fd5f..718cca1 100644
--- a/src/settings/components/form/SearchForm.jsx
+++ b/src/settings/components/form/SearchForm.jsx
@@ -1,5 +1,6 @@
import './SearchForm.scss';
import React from 'react';
+import PropTypes from 'prop-types';
import AddButton from '../ui/AddButton';
import DeleteButton from '../ui/DeleteButton';
@@ -75,4 +76,13 @@ class SearchForm extends React.Component {
}
}
+SearchForm.propTypes = {
+ value: PropTypes.shape({
+ default: PropTypes.string,
+ engines: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)),
+ }),
+ onChange: PropTypes.func,
+
+};
+
export default SearchForm;